whatajoke's comments

whatajoke | 14 years ago | on: Why Lua?

Scheme community frowns upon mutating code. R6RS even forced that by default, though the rest of the specification was a mess.

So, scheme style these days is all about pure functions, tail calls and continuations. To think about it, that really is setting it apart from common lisp.

whatajoke | 14 years ago | on: Why Lua?

My definition of an FFI was simply about fully supporting native threads. Simplifying FFI definitions has not been a big deal for me. It is either a few hours of work, or if more than that, then I simply use Swig.

As for finalizing arbitrary objects, please see http://community.schemewiki.org/?guile-guardian

I agree on the speed part. But guile 2 is getting better. The reason guile cannot be as blazing fast as say gambitc is their need to inter-operate with all sorts of C code. Native threading included.

whatajoke | 14 years ago | on: Why Lua?

Not criicizing lua, but worth comparing to guile.

> Integration with C (and C++ for that matter)

Guile does it better. You can use shared memory threads in guile without any penalty. Atmost you have to allow for the garbage collector to run when inside FFI functions. But that is a small price to pay in case you need to use multiple parallel-concurrent threads with a single heap.

Guile was built with FFI in mind and has an impressive history. Just take a look at guile gnome bindings.

> Speed and Simplicity

Guile 2 is extremely fast. Not as fast as LuaJIT, but it no reason it won't get there. As for simplicity, take a look at the partial evaluator in trunk of guile 2.

> Education

Guile is good old scheme.

> Functional

Can't get more functional than scheme :)

> Everything is a Table

Well, almost everything is a pair in guile. Vectors and hash-tables are trivially available. Though I recommend to sticking to functional programming in scheme style.

> Consistent

As before, can't get more consistent than scheme.

> Portable

Guile is available on n900. So there.

To continue, guile has continuations (delimited or otherwise), and macros (hygienic or otherwise), both of which are effectively missing in lua.

And guile offers all of this while supporting native threading with a single heap. Sweeet.

whatajoke | 15 years ago | on: On a New Road : James Gosling on Apple and Java

> I respectfully submit that the man who thought AWT was an acceptable GUI toolkit doesn't have a leg to stand on here.

Where did Gosling say that? I remember reading that AWT was a botched job because they had very little time to ship out a UI toolkit. They replaced it with Swing later.

And if you think Swing also sucks, then try developing swing apps in groovy. Java language sucks even in SWT UIs.

whatajoke | 15 years ago | on: Java as we know it is over. Time to fork?

The excellent research done under Jikes project in IBM cannot be forgotten. It to contributed to IBM's patent portofolio.

Bad to reply to own comment, but can't edit it anymore.

whatajoke | 15 years ago | on: Java as we know it is over. Time to fork?

> What's wrong is that Oracle won't (ever) allow Harmony to be called Java Compatible, even though it is.

The same can be said of a fork. It will not be allowed to run the Java test suite (I forget the name) and certify itself Java.

Edit : Typo

whatajoke | 15 years ago | on: Java as we know it is over. Time to fork?

Much of high performance modern VMs (not just JVM) are built on Self project and StrongTalk acquisiotion by Sun. I think Oracle would have quite a few key patents due to this.

Though the Visual works contribution to VM technology cannot be discounted. And it is owned by IBM. So probably IBM and Oracle will not use these patents against each other.

whatajoke | 15 years ago | on: Java as we know it is over. Time to fork?

It also has multiple backends. I think a debian dev had coded a llvm backend for it. And a cambridge student coded an ARM backend.

Edit : grammar. Also forgot to mention that the ARM backend run on n900, my precious.

whatajoke | 15 years ago | on: Why I Love the Khan Academy

I had the same impression. Nothing can educate like a good teacher who coaches you directly. Looks like many americans (or britons) are not getting this individual attention in their schools and colleges.

Some professors are able to teach you complex things in such simple terms that it damn well blows you away. I remember being tought van der walls equation's proof using some very basic concepts and the taylor series. I can't find that simple a proof on wikipedia now, and unfortunately I have forgotten much of physics. SICP is also a good example of a good teacher making complex problems simple.

whatajoke | 15 years ago | on: Making Debian Responsible For Its Actions

I have never used gentoo. Does gentoo patch packages as much as Debian? Or is their build process sophisticated to allow parallel install of multiple versions of say postgresql?

whatajoke | 15 years ago | on: In German Suburb, Life Goes On Without Cars (2009)

> I just don't want to see some zealot telling me I can't have a car, and that I am some sort of evil person for having one.

Not everybody thinks about you when choosing the people they want to live with. You argue like a conservative asshole berating a bunch of hippies for choosing their own way of life.

> What I'm saying : there should be no laws against this type of thing, and no laws saying you should do it. Entirely personal choice all round.

That is entirely upto the people living in those subuebs. If they decide that you should drive your car around rather than through their suburb, then I don't see how it violates your personal freedom. Next you will be bitching about congestion charges.

page 1