Re: Guy Steele interview in DDJ
- From: Ulrich Hobelmann <u.hobelmann@xxxxxx>
- Date: Mon, 18 Apr 2005 14:43:04 -0500
Christopher C. Stacy wrote:
I hope that you are only breaking the law if you are transmitting illegally. (The other possibility would be that it's criminal o create a device which might be capable of breaking a law, regardless of intent or anything that actually happened.)
It's called Induce Act, if I'm right. Probably Europe will get similar laws in the future, which means I will have to move to South America later (Brazil? they seem to like open source).
It doesn't have to do with the API (except insomuch as Java APIs do not accept machine pointers). Third-party Java applications are
restricted by the JVM, but to restrict actual machine code requires
hardware that can trap inappropriate references and instructions (and an operating system to handle them). Java represents a small,
portable, protected OS, which doesn't require sophisticated hardware,
and which is also a language that has lots of software market share.
SMALL? I think a decent C kernel is MUCH smaller than anything in Java, especially in RAM usage. L4 takes 40k, others not that much more. Linux is bloated, ok.
I don't see any advantage to supporting C on phones; Java seems
preferable in all respects. There's enough memory and CPU power, and you don't need protected mode CPUs and an OS. It's not clear that the kind of applications envisioned running on phones would greatly benefit from being written in Lisp, particularly, either. What is important are standard libraries for piping around certain
kinds of data, doing encryption, and pretty simple user interface
Why use programming language that takes up whopping megabytes of memory? I think an MMU is much cheaper than adding another 32MB to your device so that even basic apps run fine. It's also easier than adding a huge battery because the 400+MHz required to run Java decently drain so much energy.
I once read on how to develop Java games for phones. It said "avoid garbage collection", "use static methods" and other glorious workarounds. No thanks, I'd rather be able to compile *whatever I want* to assembly language!
And if you have ever seen those Java games compared to what even the Gameboy Advance can do with 32? MHz (and 15h on battery), you wouldn't find it so cool. Coding in C where others use Java puts in a competitive advantage.
Besides, one could write most Lisp programs in a way that would make them ammenable to translation into Java.
You can translate Lisp to ARM code, without being forced to use the JVM machine model, its slow GC system, its typecasts-with-checks-at-runtime.
No man is good enough to govern another man without that other's consent. -- Abraham Lincoln
- Prev by Date: Re: can anyone offer Lisp job?
- Next by Date: Re: Lisp success stories
- Previous by thread: Re: Guy Steele interview in DDJ
- Next by thread: Re: Guy Steele interview in DDJ