473,473 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

C# Source to independent (from .net framework) binary compiler (alternative to remotesoft)

sam
It can compile .net code to native code which can run without an
installed .net framework. This would remove one of the greatest
disadvantages from C#.

Sounds quite interesting.
http://www.remotesoft.com/linker/intro.html

But it`s a bit expensive.

Someone already tested it? How big are the files? Normal binary file
size + hole framework size or smaller?

Why did microsoft not publish such an compiler themself? It`s much
better then asking clients to install .net. The programms are more
easy then and can run standalone/portable.

Is there any other native .net compiler?

Apr 20 '07 #1
7 2086
It can compile .net code to native code which can run without an
installed .net framework.
Does this comply with the redistribution terms for the .NET framework?

The web site states this statically links required pieces of the .NET
framework. What happens when Microsoft patches a functional or security
problem within the .NET framework, must you relink and redistribute your
application to all users? Ouch.

<sa*@discardmail.comwrote in message
news:11**********************@d57g2000hsg.googlegr oups.com...
It can compile .net code to native code which can run without an
installed .net framework. This would remove one of the greatest
disadvantages from C#.

Sounds quite interesting.
http://www.remotesoft.com/linker/intro.html

But it`s a bit expensive.

Someone already tested it? How big are the files? Normal binary file
size + hole framework size or smaller?

Why did microsoft not publish such an compiler themself? It`s much
better then asking clients to install .net. The programms are more
easy then and can run standalone/portable.

Is there any other native .net compiler?

Apr 20 '07 #2
On Apr 20, 8:57 am, s...@discardmail.com wrote:
It can compile .net code to native code which can run without an
installed .net framework. This would remove one of the greatest
disadvantages from C#.

Sounds quite interesting.http://www.remotesoft.com/linker/intro.html

But it`s a bit expensive.

Someone already tested it? How big are the files? Normal binary file
size + hole framework size or smaller?

Why did microsoft not publish such an compiler themself? It`s much
better then asking clients to install .net. The programms are more
easy then and can run standalone/portable.

Is there any other native .net compiler?
I don't think its a good idea. If the framework is patched, your
program won't be affected.

The installation base of the framework is growing, and i don't see it
being a disadvantage. 1.1 of the framework is installed by default on
Win2k3, 2.0 on Win2k3 R2 versions, 3.0 on Vista (all editions).

Given that, and given you can install the framework along with your
application, I don't think that you need to worry much about the
framework being installed.

If speed is an issue, you can use ngen to compile your assemblies
futher and gain performance.

Apr 20 '07 #3
sam
The point is that a C(++) programm can run out of the box, without any
installation. C# not.

But interesting view. Never thought about this argument. But... For C?
Could be that some lib needs patching... I also think my apps are more
hurt able then the framework. :)

However, this was an interesting point but not the question. There is
also no such alternative compiler?

Apr 20 '07 #4
<sa*@discardmail.comwrote:
The point is that a C(++) programm can run out of the box, without any
installation.
Only if the required OS is installed, of course...
C# not.
Unless you've got Vista or Win2K, of course...
But interesting view. Never thought about this argument. But... For C?
Could be that some lib needs patching... I also think my apps are more
hurt able then the framework. :)
Not sure what you mean here.
However, this was an interesting point but not the question. There is
also no such alternative compiler?
Not that I'm aware of. Personally I've never been a fan of it as an
idea.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Apr 20 '07 #5
sam
On 20 Apr., 20:16, Jon Skeet [C# MVP] <s...@pobox.comwrote:
<s...@discardmail.comwrote:
The point is that a C(++) programm can run out of the box, without any
installation.

Only if the required OS is installed, of course...
Yes, but programs created for windows will run standalone on all
windows platforms.
C# not.

Unless you've got Vista or Win2K, of course...
But many people have WinXP right now and will continue for a long
time.
But interesting view. Never thought about this argument. But... For C?
Could be that some lib needs patching... I also think my apps are more
hurt able then the framework. :)

Not sure what you mean here.
I mean that the standard user will be not aware that the .net
framework needs updating. If he doesn`t use windows update he won`t
get a fixed version.

All programmms can have security problems. Therefore them need
updates.

If you write in C you will probably use external sources aswell too.
Those can include security holes. As a developer you must relay on
news so or so and update your apps then.

That C# compiled sources (.exe) need that .net framework to run is one
of the biggest disadvantage of C# imho. Guess for that reason no
"professional developers" like devs for games/antivirus and so on
don`t use .net right now.

A native compiler would be just awesome. So, if someone has used
please give feedback.
However, this was an interesting point but not the question. There is
also no such alternative compiler?

Not that I'm aware of. Personally I've never been a fan of it as an
idea.
Thanks for telling me.

Apr 21 '07 #6
<sa*@discardmail.comwrote:
Only if the required OS is installed, of course...
Yes, but programs created for windows will run standalone on all
windows platforms.
No. If I write something which uses Vista-specific calls, it won't run
on XP.
C# not.
Unless you've got Vista or Win2K, of course...

But many people have WinXP right now and will continue for a long
time.
True - so they won't be able to use Vista-specific programs either.
But interesting view. Never thought about this argument. But... For C?
Could be that some lib needs patching... I also think my apps are more
hurt able then the framework. :)
Not sure what you mean here.

I mean that the standard user will be not aware that the .net
framework needs updating. If he doesn`t use windows update he won`t
get a fixed version.
True - but I would hope that most people who care about security even
*slightly* use Windows update these days.
All programmms can have security problems. Therefore them need
updates.
Yes - so they should have Windows update on. Note that an update to a
"just the managed code" program is likely to be a lot smaller than an
update to a "managed code and framework combined" program - not to
mention the fact that if you have 3 programs which all need updating
due to the same framework bug, you'd have to update all 3 (having been
contacted by the suppliers) rather than having Windows Update just fix
it.

A lot of people have Windows Update turned on - but how many regularly
check for newer versions of *every* application they run?
If you write in C you will probably use external sources aswell too.
Those can include security holes. As a developer you must relay on
news so or so and update your apps then.
Indeed, unless those are covered by Windows update.
That C# compiled sources (.exe) need that .net framework to run is one
of the biggest disadvantage of C# imho. Guess for that reason no
"professional developers" like devs for games/antivirus and so on
don`t use .net right now.
At least one anti-virus company uses .NET for some of their management
tools, IIRC. Games have tended to need "close to the metal" access
which .NET hasn't provided very well before, although XNA may make a
difference. The unpredictability of the GC (in terms of pauses) is a
problem for games, too.

Both my current job and my previous job have involved writing "shrink-
wrapped" .NET applications though.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Apr 21 '07 #7
<sa*@discardmail.comwrote:
All programmms can have security problems. Therefore them need
updates.
Updates are a fact of life. New Versions, New Features, Improved Security,
New Language Packs, all need to be handled via updates. Click-Once
deployment has an excellent mechanism for this. It lets you build apps that
can be easily updated. There are a number of 3rd party update packages you
can use if Click-Once doesn't fit your needs.
That C# compiled sources (.exe) need that .net framework to run is one
of the biggest disadvantage of C# imho.
Totally.

Good thing that the other really popular language - that ones that beings
with J - doesn't work like this. I mean, heck, if that language required
it's own framework and runtime, nobody would use it.
Guess for that reason no "professional developers" like devs
for games/antivirus and so on don`t use .net right now.
Totally.

All the developers here are just hobbiest - we don't work for real
companies, and don't put out real software. Everything we do is related to
homework assignments given to us by BillG, SteveB & RayO.
A native compiler would be just awesome. So, if someone has used
please give feedback.
So use one. The RemoteSoft products do this, as do a few others. I've posted
about it, and the other varations on it, a number of times. Google archives
this - just search for RemoteSoft in Google Groups.

--
Chris Mullins, MCSD.NET, MCPD:Enterprise, Microsoft C# MVP
http://www.coversant.com/blogs/cmullins
Apr 21 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: FISH | last post by:
Ever have one of those days when you're not sure if it's you who's gone mad, or the rest of the world? I have an Open Source project on SourceForge for communication with YSMG - Yahoo's IM...
188
by: Ilias Lazaridis | last post by:
I'm a newcomer to python: - E01: The Java Failure - May Python Helps? http://groups-beta.google.com/group/comp.lang.python/msg/75f0c5c35374f553 - I've download (as suggested) the python...
4
by: mosfet | last post by:
I have a question I would like to developp an app in .NET but I would like to keep my source code secret. However since anyone can decompile a binary to find the source code...
2
by: Brant | last post by:
I have an EXE that I want to deploy to approx 200 PCs. Is there a way to create a setup package that executes my EXE after the framework has been installed? I want to perform a silent install of...
14
by: BobAchgill | last post by:
I noticed a Free ware CDBurnerXP Pro 3 that boasts having changed over to VB .Net on his latest release. I downloaded the 15MB install file. Before I loaded it I uninstalled my .Net Framework. ...
7
by: Tina | last post by:
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net...
3
by: Jarry | last post by:
How do you get a program built with, say, Visual Basic 2005 (with .net framework 2.0) to deploy onto a computer with only framewok 1 or so, if you don't have the administrative rights? It's kind of...
66
by: Jon Skeet [C# MVP] | last post by:
I'm sure the net will be buzzing with this news fairly soon, but just in case anyone hasn't seen it yet: Microsoft are going to make the source code for the .NET framework (parts of it,...
10
by: Tomás Ó hÉilidhe | last post by:
I'd post this on a gcc newsgroup but I'd be more productive talking to the wall. Anyway, let's say someone throws some source code at you for a particular program and says, "Just compile it, it...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.