473,511 Members | 11,345 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2970
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
2205
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
3953
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
786
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
2130
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
2416
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
1763
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
3285
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
20002
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
2774
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
7251
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
7148
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
7367
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
5673
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
5072
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
3230
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
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
790
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
451
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.