473,471 Members | 4,637 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

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
Jul 21 '05 #1
11 2820
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/
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
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

Jul 21 '05 #2
Nice link. The prices seem high, but the tools look very interesting.

"Robert Jacobson" <rj**********************@nospam.com> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
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/
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
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


Jul 21 '05 #3

"Robert Jacobson" <rj**********************@nospam.com> wrote in message
news:uJ**************@TK2MSFTNGP12.phx.gbl...
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/
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
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


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

Jul 21 '05 #4
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!
************************************************** ********************
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
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

Jul 21 '05 #5
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)" <No************@comcast.netNoSpamM> wrote in
message news:OF**************@TK2MSFTNGP10.phx.gbl...
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!
************************************************** ********************
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
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


Jul 21 '05 #6
> 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
Doesn't that violate the redist license?
-mike
MVP

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in
message news:OF**************@TK2MSFTNGP10.phx.gbl...
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!
************************************************** ********************
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
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



Jul 21 '05 #7
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

"Michael Giagnocavo [MVP]" <mg*******@Atrevido.net> wrote in message
news:OC**************@tk2msftngp13.phx.gbl...
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


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

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in message news:OF**************@TK2MSFTNGP10.phx.gbl...
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!
************************************************** ********************
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
> 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
>
>



---
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
Jul 21 '05 #8
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.
"Michael Giagnocavo [MVP]" <mg*******@Atrevido.net> wrote in message
news:OC**************@tk2msftngp13.phx.gbl...
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


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

"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamM> wrote in message news:OF**************@TK2MSFTNGP10.phx.gbl...
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!
************************************************** ********************
"Andy Chau" <wu*****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...
> 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
>
>



Jul 21 '05 #9
Frank Lesser [LSW] wrote:
We are working on a .NET Native compiler. It will be part of LSW
DotNet-Lab
2.0 ( www.lesser-software.com/lswdnl.htm )


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 ev******@zicf.bet is encrypted with ROT13 (www.rot13.org)
Jul 21 '05 #10

"Richard Grimes [MVP]" <read my sig> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl...
Frank Lesser [LSW] wrote:
We are working on a .NET Native compiler. It will be part of LSW
DotNet-Lab
2.0 ( www.lesser-software.com/lswdnl.htm )
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 ev******@zicf.bet is encrypted with ROT13 (www.rot13.org)


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


Jul 21 '05 #11
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
"Frank Lesser [LSW]" <Fr**********@lesser-software.com> wrote in message
news:uH**************@TK2MSFTNGP12.phx.gbl...

"Richard Grimes [MVP]" <read my sig> wrote in message
news:OD**************@TK2MSFTNGP12.phx.gbl...
Frank Lesser [LSW] wrote:
We are working on a .NET Native compiler. It will be part of LSW
DotNet-Lab
2.0 ( www.lesser-software.com/lswdnl.htm )
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 ev******@zicf.bet is encrypted with ROT13 (www.rot13.org)


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


Jul 21 '05 #12

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

Similar topics

5
by: Dan | last post by:
Hi Gurus I got a very basic question to ask: When a .NET exe (MSIL) is first run, the JIT-compiler will converts the IL into native codes so that it can executes on the current machine. my...
11
by: Andy Chau | last post by:
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 ...
9
by: Herby | last post by:
Is possible to have a managed method within a Native(un-managed) class within a \clr project? E.g. class myClass { public: #pragma managed void myMethod(void);
9
by: Lonewolf | last post by:
Hi everyone.. I was trying to implement callback fucntions in native codes in my VC8 class, and referred to some online codes which use native class nested within managed class. basically of the...
2
by: Bart Simpson | last post by:
I am writing a communications library which makes extensive use of the STL and templates in general. I am using VC7 to compile because of alledged better support for templates etc. However, I...
8
by: Jack | last post by:
I wonder C# can produce native win32 code. I have read several articles about C#, and I found it very useful because you don't have to remember all the "starting" syntax and you still have a...
2
by: Edward Diener | last post by:
Specifying 'public class' or 'private class' for C++ class definitions is not part of the C++ standard. In a topic in the VS 2005 docs 'How to: Declare public and private on Native classes', it is...
2
by: Michael Reichenbach | last post by:
http://www.remotesoft.com/linker/intro.html it costs far about $1000. Did someone test it?? Is this serious? Or is there some free or at least more cheap alternative? Why there is no native...
5
by: =?Utf-8?B?U2hhcm9u?= | last post by:
I have a class that is writen in unmanaged pure native C++. This class files (h and cpp) are inserted to a managed C++ (VC++ 2005, C++/CLI) DLL compoenet. This DLL compoenet is used in a C#...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
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.