473,386 Members | 1,867 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,386 software developers and data experts.

.net as language target

I am considering targeting .net with my existing compiler.
I am new to both jvm and .net targets. I have no preference.
This is not designed to start an argument, I would just like
the information. I may decide to use either one, or both.

Heres the question:

With jvm it is very clear what I get for the effort of targeting
the jvm for my compiler output. You can run jvm programs off
a web page, and even if you don't use that mode, there are many
machines that run jvm. There are jvm applications that run, in
place, on a web page *everywhere*.

With .net, after an extensive search, I have yet to find a
single example using a .net application (using, I gather, asp.net).
Ie., although the .net documentation appears to describe the
ability to do so, nobody appears to be supporting it. Are there
online, running in web page, .net applications I can go see on
the web ?

Also, it is clear that .net can be easily JITed on a Windows
machine. However, I already have a compiler back end for Windows, so
it is hardly worth the work to do so. What other machines have a
JIT for .net available ?

I am currently using the .net SDK and the book ".NET IL Assembler"
for reference on this subject.

Thank you.
Jul 21 '05 #1
2 1295
Cor
Hi Scott,

I will try to explain something about Net with the web and only for
webpages.

With Net you have a server part and a client part.

The "only" thing the serverpart does is creating aspx pages with which you
communicatie with the client. ASPX pages are completly DHTML and look like
every other pages can look not made with Net.

You even can delete the signature that it is .NET, although someone who
knows what is the Net, does recognise it direct.

On the client side you can choose as far as I know to let the Net use
Javascript or VBscript.
(I do not believe that there will be much who take VB.script although it has
on some parts some advantages).

The javascript that is created by Net in a page is very complex. So it react
direct on a button push and sends all underlaying information back to the
Server. There you can catch what the user did and take your action on that
and then the page is again post back to the client.

About the SDK, there are two versions on the server side, with a compiled
DLL, done with a compiler or mostly with Visual.Studio.Net. The last product
makes it very easy to do the serverside programming with a webpage. Because
that it is compiled code it is of course much faster on the serverside than
when you let the HTML pages create with code which is compiled just in time.

I hope this helps a little bit?

Cor


Jul 21 '05 #2
Scott,
There are jvm applications that run, in
place, on a web page *everywhere*. Just as you can run a Java Applet from a web page, when the JVM is installed
on the client. You can run a .NET "Windows control" from a web page, when
the .NET framework is installed on the client.

As Cor suggested, server side ASP.NET & JSP pages run on the server, only
require the respective runtimes on the server.

I don't have a specific sample handy on running a .NET "Windows control"
from a web page...
Also, it is clear that .net can be easily JITed on a Windows
machine. However, I already have a compiler back end for Windows, so
it is hardly worth the work to do so. You target the .NET CLR more to leverage the CLR & the Framework, not to run
"windows" programs. This is why Microsoft has both the unmanaged C++
compiler & the managed C++ compiler. So you can create Win32 programs
directly with no .NET support or you can create C++ .NET programs.

If your compiler supported creating managed code, you could run in the CLR &
use the Framework (you would then not need your own library of routines).
What other machines have a
JIT for .net available ? www.go-mono.com & Microsoft's "Rotor" source are two of the most popular
alternative runtimes.

There are numerous samples and documentation on targeting your compiler for
..NET in:

\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Tool Developers
Guide

Hope this helps
Jay

"Scott Moore" <sa****@moorecad.com> wrote in message
news:UjHXb.38801$jk2.85912@attbi_s53... I am considering targeting .net with my existing compiler.
I am new to both jvm and .net targets. I have no preference.
This is not designed to start an argument, I would just like
the information. I may decide to use either one, or both.

Heres the question:

With jvm it is very clear what I get for the effort of targeting
the jvm for my compiler output. You can run jvm programs off
a web page, and even if you don't use that mode, there are many
machines that run jvm. There are jvm applications that run, in
place, on a web page *everywhere*.

With .net, after an extensive search, I have yet to find a
single example using a .net application (using, I gather, asp.net).
Ie., although the .net documentation appears to describe the
ability to do so, nobody appears to be supporting it. Are there
online, running in web page, .net applications I can go see on
the web ?

Also, it is clear that .net can be easily JITed on a Windows
machine. However, I already have a compiler back end for Windows, so
it is hardly worth the work to do so. What other machines have a
JIT for .net available ?

I am currently using the .net SDK and the book ".NET IL Assembler"
for reference on this subject.

Thank you.

Jul 21 '05 #3

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

Similar topics

26
by: HackingYodel | last post by:
Hello all! I'm learning to program at home. I can't imagine a better language than Python for this. The ideal situation, for me, would be to study two languages at the same time. Probably...
8
by: Hermawih | last post by:
Hello , I want your opinion about this . In order to say it clearly , I think I have to describe it in long sentences . I could consider myself as Intermediate/Advance Access Developer ;...
22
by: Michael Nahas | last post by:
Antti & all interested, The draft description of my language to replace C is available at: http://nahas.is-a-geek.com/~mike/MyC.pdf I am a long time C programmer (I read the old testament...
22
by: larry | last post by:
I was just looking at a demo training that mindleaders has on .net training: http://www.mindleaders.com/products/democourse3.asp And I don't believe this is correct or at least is misleading...
669
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic...
4
by: AViS | last post by:
Hi, I am building a language translator, that must convert input from source languages to a language neutral format in XML. This XML must be read by the target language translator and produce the...
22
by: David Mathog | last post by:
One thing that keeps coming up in this forum is that standard C lacks many functions which are required in a workstation or server but not possible in an embedded controller. This results in a...
12
by: Tony Belding | last post by:
I'm interested in using an off-the-shelf interpreted language as a user-accessible scripting language for a MUCK. I'm just not sure if I can find one that does everything I need. The MUCK must be...
38
by: ifti_crazy | last post by:
I am VB6 programmer and wants to start new programming language but i am unable to deciced. i have read about Python, Ruby and Visual C++. but i want to go through with GUI based programming...
0
by: thomas.mertes | last post by:
Generally C is well suited as target language for compilers. I use C as target language for the Seed7 compiler. This works good. There are just some things where the behaviour of C is undefined: ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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,...

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.