> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> On Behalf Of ropers
> Sent: Wednesday, November 01, 2006 6:44 PM
> To: L. V. Lammert
> Cc: Mark Bucciarelli; David Terrell; Damien Miller; Sam 
> Fourman Jr.; OpenBSD
> Subject: Re: [OT] OpenBSD AJAX
> 
> On 01/11/06, L. V. Lammert <[EMAIL PROTECTED]> wrote:
> > On Wed, 1 Nov 2006, Mark Bucciarelli wrote:
> >
> > > Do you have a recommendation for a client-side Ajax lib 
> to use with 
> > > C?
> > >
> > Huh? How can you run C code in a browser?
> >
> >         Lee
> 
> The short answer: You don't.
> 
> The long answer:
> Ok, so here goes -- for the benefit of the archives:
> Read http://www.webpasties.com/xmlHttpRequest/ .
> Note how XMLHttpRequest is key here.
> It links the client side (where we have HTML/CSS/ECMAscript 
> and possibly other clientside stuff) with whatever code is 
> running on the server.
> I'm using the word "link" very loosely here: XMLHttpRequest 
> can make the browser request data without page reloads. That 
> data doesn't really have to be in XML format (cf. JSON).
> The code on the server (that talks to XMLHttpRequest) could 
> effectively be just about anything: PHP, Perl, Python, Ruby, 
> Java/JSP, even C.
> 
> /* begin increasingly off-topic techno-giddy mullarkey */
> 
> And while I don't know that it has been done, in theory at 
> least, there's nothing to stop you from writing the server 
> side logic in pure assembly language.
> Oh, don't just write it in assembly language. Write it in 
> assembly language by hand editing in a hex editing 
> environment inside vi (:%!xxd / :%!xxd -r) via a 2400 baud 
> teletype using this programming technique when writing your 
> loops: http://tinyurl.com/y65oeu
> 
> PS: I once read that Google allegedly, allegedly generated 
> their fancy-schmancy AJAXian Javascript code by first writing 
> Java code and then using some kind of cross-converter to turn 
> the Java code into JavaScript code.
> Either the person who wrote that was seriously confused and 
> STILL didn't get that Java and JS are completely different 
> animals, or Google is doing something that I can only marvel 
> and awe at.
> 
> PPS: Someplace else I read that reportedly, reportedly most 
> people who code for a living do so in Java. No idea if that's 
> true, though if it is, it could explain what Google is 
> reportedly doing...
> 
> 

That's exactly what they do:
http://code.google.com/webtoolkit/

Reply via email to