473,394 Members | 1,800 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

CLR to 8086

Hi,

I wonder, Is it possible to convert a CLR DLL to a Binary
OS dependent DLL?
Explained:
The JIT compiler 'converts' the CLR DLLs to binary on
runtime ( dependent of the OS ), Is there a way for the
JIT to generate a 8086 EXE binary??? doing so will enable
Converted CLR applications to run on computers without
the CLR framework ( the virtual machine )...

Thanks in advance,
Nadav Rubinstein.
Jul 19 '05 #1
3 2963
Nadav,
There are currently no native code compilers for .NET, only the JIT
compilers.

There is a Native Image Generator (ngen.exe) utility in .NET that you can
pre-JIT your assemblies in the GAC. However you need to install the
Framework on the machine, install your assembly on the machine, then use
ngen.exe.

I do not have any links, there are a couple of companies working on native
code compilers, that claim they will package enough of the framework to run
your app.

The problem I see is: even if you create a native code assembly, you still
need all the runtime assemblies. Which means you would need to compile these
to native code also. Which means you will need to install them. Where are
you going to install them. Side by Side with the App? An awful lot of disk
space if I install two native code assemblies. Is runtime common someplace,
sounds like its approaching the return of DLL hell. Or at the very least a
duplication of the existing runtime...

Hope this helps
Jay

"Nadav Rubinstein" <na***@ddevel.com> wrote in message
news:0c****************************@phx.gbl...
Hi,

I wonder, Is it possible to convert a CLR DLL to a Binary
OS dependent DLL?
Explained:
The JIT compiler 'converts' the CLR DLLs to binary on
runtime ( dependent of the OS ), Is there a way for the
JIT to generate a 8086 EXE binary??? doing so will enable
Converted CLR applications to run on computers without
the CLR framework ( the virtual machine )...

Thanks in advance,
Nadav Rubinstein.

Jul 19 '05 #2
Well,

I am writing client side applications that should be
compatible with OS of Win98 and above which has no .NET
framework installed, I am just trying to see if I can
avoid writing this client side Forms app with MFC or VB6,
the .NET Forms technology makes development much faster,
BUT working with .NET Forms will require each client to
download the .NET framework ( about 20MB ) which is not
acceptable, 'converting' the CLR binaries to native
binaries may be a nice compromise, BUT as you say it is
not so elegant.

Does anyone has any suggestion????
-----Original Message-----
Jay, I totally agree, surely the point of the Framework isto eliminate much of these problems and anyway the need toinstall it will go away when it comes as part of the os.
Also of course MSIL is processor independent so you wouldlose the abilty to run your app on an 80x86 box and say
your IBM big box.

you never know - Intel or AMD might come up with a
processor whose instruction set is MSIL!

cheers

guy
-----Original Message-----
Nadav,
There are currently no native code compilers for .NET,only the JIT
compilers.

There is a Native Image Generator (ngen.exe) utility

in .NET that you can
pre-JIT your assemblies in the GAC. However you need to

install the
Framework on the machine, install your assembly on the

machine, then use
ngen.exe.

I do not have any links, there are a couple of companiesworking on native
code compilers, that claim they will package enough ofthe framework to run
your app.

The problem I see is: even if you create a native code

assembly, you still
need all the runtime assemblies. Which means you would

need to compile these
to native code also. Which means you will need to

installthem. Where are
you going to install them. Side by Side with the App?
Anawful lot of disk
space if I install two native code assemblies. Is
runtimecommon someplace,
sounds like its approaching the return of DLL hell. Or
atthe very least a
duplication of the existing runtime...

Hope this helps
Jay

"Nadav Rubinstein" <na***@ddevel.com> wrote in message
news:0c****************************@phx.gbl...
Hi,

I wonder, Is it possible to convert a CLR DLL to a

Binary OS dependent DLL?
Explained:
The JIT compiler 'converts' the CLR DLLs to binary on
runtime ( dependent of the OS ), Is there a way for the JIT to generate a 8086 EXE binary??? doing so willenable Converted CLR applications to run on computers without
the CLR framework ( the virtual machine )...

Thanks in advance,
Nadav Rubinstein.

.

.

Jul 19 '05 #3
Nadav,
Search Google Groups:

http://groups.google.com/groups?hl=e....public.dotnet

For the reference to native code compilers (and other similar keywords).

There have been postings from at least one company working on a native code
compiler for .NET. I just don't remember the name of the company.

'converting' the CLR binaries to native
binaries may be a nice compromise, BUT as you say it is
not so elegant.
Is your app download ware? Or distributed on CD?

If its download ware, for users who do not have the Framework loaded, offer
to ship a CD with the Framework on it, so they may load it.

The problem with converting the CLR binaries to native binaries, may still
be you are looking at 10-15 MB download, as a lot of the framework is
inter-related.
BUT working with .NET Forms will require each client to
download the .NET framework ( about 20MB ) which is not
acceptable, I would not consider it not acceptable, inconvenient yes, prohibitive for
dial up lines, yes. For dial up users, you can always offer to ship them a
CD.
I am just trying to see if I can
avoid writing this client side Forms app with MFC or VB6,
the .NET Forms technology makes development much faster, Like any project you need to weigh the benefits of a tool with the pit falls
of a tool. If MFC or VB6 are more easily deployed for you, and deployment is
important. Then I suggest you go with MFC or VB6. For me the OOP nature of
..NET, speed of development, etc. Far outweighs the deployment of the
framework issue. Remember the Framework only needs to be installed a single
time per version on a users desktop. Once there it can be used by numerous
apps. With in limits 1.0 apps can use 1.1 framework and visa versa. For
details see:

http://msdn.microsoft.com/netframewo...dexsidenet.asp

Hope this helps
Jay

"Nadav Rubinstein" <na***@ddevel.com> wrote in message
news:00****************************@phx.gbl... Well,

I am writing client side applications that should be
compatible with OS of Win98 and above which has no .NET
framework installed, I am just trying to see if I can
avoid writing this client side Forms app with MFC or VB6,
the .NET Forms technology makes development much faster,
BUT working with .NET Forms will require each client to
download the .NET framework ( about 20MB ) which is not
acceptable, 'converting' the CLR binaries to native
binaries may be a nice compromise, BUT as you say it is
not so elegant.

Does anyone has any suggestion????
-----Original Message-----
Jay, I totally agree, surely the point of the Framework

is
to eliminate much of these problems and anyway the need

to
install it will go away when it comes as part of the os.
Also of course MSIL is processor independent so you

would
lose the abilty to run your app on an 80x86 box and say
your IBM big box.

you never know - Intel or AMD might come up with a
processor whose instruction set is MSIL!

cheers

guy
-----Original Message-----
Nadav,
There are currently no native code compilers for .NET,

only the JIT
compilers.

There is a Native Image Generator (ngen.exe) utility

in .NET that you can
pre-JIT your assemblies in the GAC. However you need to

install the
Framework on the machine, install your assembly on the

machine, then use
ngen.exe.

I do not have any links, there are a couple of companies
working on native
code compilers, that claim they will package enough of

the framework to run
your app.

The problem I see is: even if you create a native code

assembly, you still
need all the runtime assemblies. Which means you would

need to compile these
to native code also. Which means you will need to

install
them. Where are
you going to install them. Side by Side with the App?

An
awful lot of disk
space if I install two native code assemblies. Is

runtime
common someplace,
sounds like its approaching the return of DLL hell. Or

at
the very least a
duplication of the existing runtime...

Hope this helps
Jay

"Nadav Rubinstein" <na***@ddevel.com> wrote in message
news:0c****************************@phx.gbl...
Hi,

I wonder, Is it possible to convert a CLR DLL to a

Binary
OS dependent DLL?
Explained:
The JIT compiler 'converts' the CLR DLLs to binary on
runtime ( dependent of the OS ), Is there a way for

the JIT to generate a 8086 EXE binary??? doing so will

enable
Converted CLR applications to run on computers without
the CLR framework ( the virtual machine )...

Thanks in advance,
Nadav Rubinstein.
.

.

Jul 19 '05 #4

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

Similar topics

3
by: McBooCzech | last post by:
Hi all, before I decided to bother you by e-mail, I spent days (not kidding) searching on the Internet. I am looking for Python binaries for DOS-16bit!!!! Not for Win-16bit or DOS-32 which are...
15
by: anders | last post by:
Hi! I have a config file that looks like this: <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.runtime.remoting> <application> <service> <wellknown mode="SingleCall"...
3
by: Nadav Rubinstein | last post by:
Hi, I wonder, Is it possible to convert a CLR DLL to a Binary OS dependent DLL? Explained: The JIT compiler 'converts' the CLR DLLs to binary on runtime ( dependent of the OS ), Is there a way...
5
by: Shri | last post by:
How to identify if the given machine is 8/16/32 bit using C code ??? printf("Word length = %d", sizeof(int)); Doesn't that depend on the compiler you are using for compiling that piece of...
2
by: addy.amu | last post by:
hi friend, i've been making 8086 programs in TurboC editor and assembling it using TASM but now i want to know how to use both C statments along with x86 commands. I want"input from user to be...
7
by: mark_india | last post by:
In 8086 real mode addressing the 16 bit segment register is added with 16 bit offset and 20 bit address is generated. Eg: Case 1: ******** Segment Reg: B230 Offset Reg: 2052 Now the...
61
by: John Baker | last post by:
When declaring an integer, you can specify the size by using int16, int32, or int64, with plain integer being int32. Is integer the accepted default in the programming community? If so, is...
3
by: GavinM | last post by:
I have the same question as andreas.w.h.k asked on 1/5. Our configuration is as follows: The client must use the URL https://clustername.xyz.com/webservice.asmx to access this web service. ...
1
by: meskeleton | last post by:
Hello everyone... When i try to access the site helm.manashosting.biz\ or http:\\69.50.194.212:8086\ The webpage does not display On clicking diagnose the problem link, It says cannot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
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...

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.