[M3devel] new target? :)

Jay K jay.krell at cornell.edu
Thu Feb 24 22:58:17 CET 2011


I believe nativeclient depends on a fork of gcc.
And I'm not sure if it always 32bit x86 or not.
Part of what they do is limit the output such as to be easily disassembled and analyzed at load/runtime.
  If that is all, we could probably just take their patches. There is a paper about it..
I don't know what you link to though.
 
 
Ultimately..you can tell what I'm going to say..a good solution is Modula-3-to-C, and then use whatever C compiler you want.
Including the nativeclient gcc. An iPhone/iPad/iPod cross compiler. Older stuff like Irix/AIX/HPUX that we have
no Hudson nodes for. NT/AMD64, NT/IA64. Android. Newer stuff that hasn't come along yet.
 
 
Basically, generating C or C++ is a great portability mechanism, to old, existing, and new platforms.
A bit better than depending on gcc.
 
 
On Daniel's point, there's an ongoing race to provide the best new development environments that
do or do not allow much code reuse. That are or are not "safe".
not safe: iPhone, iPad, iPod, native for Android
safe: Java on Android, Silverlight in web browser and Windows Phone 7, Go, JavaScript 
 
Those platforms have way more mindshare, support, tooling, libraries, than Modula-3 and I'm sure they always will.
 
 > let me think if I can write a web server in less than 100 loc 
 
It takes 5 lines in Python, as it is already builtin to the libraries -- confusing language and libraries, granted.
 
 - Jay



Date: Thu, 24 Feb 2011 21:46:17 +0000
From: dabenavidesd at yahoo.es
To: m3devel at elegosoft.com; dragisha at m3w.org
Subject: Re: [M3devel] new target? :)





Hi all:
is interesting anyway but to write the web apps in c and good friends, hum ..., let me think if I can write a web server in less than 100 loc of Obliq and indeed one is written as an os extension, why would need any web page that renders c code, I think I would gain much more time writing myself rather than porting C (of course with its flavors) in Modula-3 or better if so in Obliq which is a mobile computing environment indeed, it makes me think, though the idea is good it makes little sense to make everything a client of a web browser rather than an instance of a structured platform, if they need only C why it has to be an instance of a web browser, it must be the browser makes better work for quick dynamic pages with C, or maybe another way of keeping it alive artificially, I mean what is the gain with that, if better runtime but, hum ...? but  it needs javascript, hum ... another loss of time (much time in inefficient checking), Nokia had the same idea with Qt and JS in WRT, (very little RT information), but still Obliq scripts can be type inferenced in much more smoothly way.
I think this battle of JavaScript and Obliq and Modula-3 vs others could be fight yet one time again but needs more time for tools to make that a reality, still the others think they can do it, it's very interesting.
Thanks in advance

--- El jue, 24/2/11, Dragiša Durić <dragisha at m3w.org> escribió:


De: Dragiša Durić <dragisha at m3w.org>
Asunto: [M3devel] new target? :)
Para: "m3devel" <m3devel at elegosoft.com>
Fecha: jueves, 24 de febrero, 2011 14:16


http://code.google.com/chrome/nativeclient/
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20110224/fec22bd1/attachment-0002.html>


More information about the M3devel mailing list