473,804 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.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 1328
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.N et. 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\T ool Developers
Guide

Hope this helps
Jay

"Scott Moore" <sa****@mooreca d.com> wrote in message
news:UjHXb.3880 1$jk2.85912@att bi_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
2151
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 sounds crazy, but it works out better for me. Being a newbie, I find almost all languages fascinating. C, D, Objective-C, Ocaml, C++, Lisp, how is a non-tech to choose? Does any single language do a better job in Python's weaker areas? Would anyone...
8
4053
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 ; Intermediate/Advanced Database designer . Because of the requirements , I must create Web Application . Access Pages is not suitable for that so I think about learning VB Net / ASP Net . I am
22
2885
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 in 1987) and I've tried to keep the spirit of C and make as few changes as possible. I was mostly driven by the bloat of C++ and, now, C99. I was also
22
2180
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 to me: "The search for an easy, productive, and very powerful programming language led to the birth of Visual C#. Visual C# incorporates the best features of Visual C++ and Visual Basic. Visual C# enables you to
669
26274
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 paper written on this subject. On the Expressive Power of Programming Languages, by Matthias Felleisen, 1990. http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
4
1533
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 output in the target language. I am thinking of using a hashed map to handle translations but am have trouble in deciding on the schema in which the XML must be stored The application must work as follows...
22
2513
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 plethora of "don't ask here, ask in comp.x.y instead", for queries on functions that from the documentation available to the programmer appear to be part of the C language. I think largely because of this "least common denominator" C language...
12
2961
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 able to call the interpreter and execute scripts with it, but the interpreter must also be able to call functions in the MUCK code. And then there's the security issue that really worries me. . . I have to be able to limit what the interpreter...
38
2683
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 language like VB.net so will you please guide me which GUI based language has worth with complete OOPS Characteristics will wait for the answer
0
1273
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: The right shift operator (>>) of C may or may not sign extend for signed negative numbers. Since the right shift operation of Seed7 is defined as sign extending shift, I have to check if the C compiler does
0
9594
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10351
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10096
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9174
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 projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7638
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 presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5534
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4311
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 we have to send another system
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.