Groups | Blog | Home
all groups > dotnet faqs > november 2003 >

dotnet faqs : Is there a .NET or C# to native x86 compiler?



Andy Chau
11/22/2003 11:29:20 AM
Is there a .NET or C# to native x86 compiler? I am not looking for just a
prejitter progrom like ngen, but a true native compiler like the gcc for
java if there is such a thing.



Thanks

Andy

Robert Jacobson
11/22/2003 12:50:01 PM
Please don't crosspost.

No, there isn't any way to compile to native code. There is a third-party
production from RemoteSoft that reduces the size of the installation (giving
it the appearance of a traditional .exe), but I haven't tried it.

http://www.remotesoft.com/linker/


[quoted text, click to view]

Mountain Bikn' Guy
11/24/2003 12:25:58 AM
Nice link. The prices seem high, but the tools look very interesting.

[quoted text, click to view]

Frank Lesser [LSW]
11/24/2003 10:42:52 AM

[quoted text, click to view]
We are working on a .NET Native compiler. It will be part of LSW DotNet-Lab
2.0 ( www.lesser-software.com/lswdnl.htm )
Currently we are working on the 1.0 Final release which will contain our
Reflection-Browser, Decompiler, Assembly Editor, our new Obfuscator with
Control-Flow Obfuscation & our UML Diagrammer.
We estimate spring 2004 for a prerelease of 2.0
..
with best regards, Frank Lesser, www.lesser-software.com


Cowboy (Gregory A. Beamer)
12/1/2003 2:07:07 PM
No, but there is a way to native compile .NET: Remote Soft's Salamander .NET
Native Compiler (www.remotesoft.com). NOTE: I have not tested the tool yet,
so I do not know how well it lives up to its promise.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
[quoted text, click to view]

Robert Jacobson
12/2/2003 1:48:49 PM
That's the same product I suggested. According to the site, it doesn't
actually compile to native code -- it just extracts the necessary portions
of the .Net Framework so you don't have to deploy the entire Framework
Redistributable. It looks like a true native compilation feature might be
on Salamander's "to do" list.


"Cowboy (Gregory A. Beamer)" <NoSpamMgbworld@comcast.netNoSpamM> wrote in
message news:OF6LekEuDHA.2544@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

Michael Giagnocavo [MVP]
12/2/2003 5:28:39 PM
[quoted text, click to view]

Doesn't that violate the redist license?
-mike
MVP

[quoted text, click to view]

Michael Pearson
12/2/2003 7:19:24 PM
Lets hope not, that thing looks like a super handy tool. If the framework
was more like 1-2MB instead of 20+ it would not be an issue.

Is there any way to get clarification on this issue from MS? I was thinking
of purchasing this product, but not until I get the all clear about that
redist license issue.

Michael

[quoted text, click to view]


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.544 / Virus Database: 338 - Release Date: 11/25/2003

Robert Jacobson
12/2/2003 7:40:15 PM
Probably.... along with any number of Microsoft copyrights. Plus it just
sounds like bad voodoo. <g> I'd think twice before using this with a
shipping commercial app.


[quoted text, click to view]

Richard Grimes [MVP]
12/22/2003 2:52:07 PM
[quoted text, click to view]

I can understand a C# to native compiler, but a ".NET Native compiler" does
not make sense. Can you explain what benefit there is in using it?

In my opinion, if your product does not have code access security, automatic
bounds checking, assembly verifiablitiy and validation then it is not safe
to use. If it does not support a sizable subsection of the framework library
then it is not particularly useful. If you have provided all of the security
and a good chunk of the library then I would imagine that you would have
nearly the bulk of the Microsoft .NET framework (which is free), in which
case I don't see what benefit there is in purchasing another tool.

Am I missing something?

Richard
--
my email evpuneqt@zicf.bet is encrypted with ROT13 (www.rot13.org)

Frank Lesser [LSW]
12/23/2003 2:16:34 AM

[quoted text, click to view]

Hi,
most .NET apps use only a fraction of the framework. We know the topic very
well from deploying Smalltalk apps - where you have image sizes comparable
to the framework size ( Our current Smalltalk Development Image is 60-80 MB
big - The LSW DotNet-Lab Binary is aprox 4 MB )
Of course if your imaginary app uses every corner of the framework you will
end up with an exe which is as big as the original framework. The current
modularization of the framework doesn't allow to extract the code really
needed in an easy way - it is main part of our work adding such a
modularization concept.
Frank





Anoop M
1/3/2004 12:15:55 AM
Microsoft should come up with a .NET runtime assembler which can assemble
the required runtime installation for an application - after verifying an
application. This may make the deployment easier ;).

lol.

After all, have a look at the Mono run time - a free implementation of .NET
for linux. - http://www.go-mono.com

Regs,
Anoop


[quoted text, click to view]

AddThis Social Bookmark Button