Hacker News new | ask | show | jobs
by lispm 2493 days ago
> Curly braces, for loops, while loops, if statements, case statements, variable declaration and initialisation etc. All those things were carbon copied from C/C++, not Lisp.

That's all minor stuff. But, even the very invention of conditional statements are originally from Lisp. http://www-formal.stanford.edu/jmc/recursive/node1.html John McCarthy proposed if/then/else and recursion to the Algol (the grandfather of C) community in 59.

> JVM isn't part of Java as a language

Historically there is no independent invention of the Java language. The Java language was developed together for and with the platform -> the JVM. Thus Java assumed on day one that it runs on a garbage collected platform.

> I doubt any Java Programmer was dragged halfway to Lisp.

There are a bunch of Java developers which struggle with Lisp-derived languages (like Clojure).

> If it was the case, we were going to see at least 10% of those Developers finishing the trip to Lisp but we didn't.

You didn't know where many of the features of the Java runtime come from or where they originated from. The originally first garbage collected language implementation was Lisp 1 in the end 50s. Here on Hackernews you can learn about it. Java (originally called oak) was explicitly designed to be garbage collected. The Java developers (Gosling) explicitly didn't want C++ like memory management.

> That's why Lisp remains an obscure language used by 100 people on a good day.

I have no idea where you get your numbers from.

1 comments

> You didn't know where many of the features of the Java runtime come from or where they originated from.

You are making a mistake of talking about tools when we are discussing programming languages. I have seen most people make that mistake with .NET platform. Java programming language isn't Java platform. In fact, as a Lisper, you should know better to dissociate the tools from the platform because Lisp is so fragmentated.

> Historically there is no independent invention of the Java language.

J++ was a Microsoft independent implementation of Java programming language. Also Java used by Android is an independent implementation of Java programming language. It doesn't contain tools which are shown on the Java platform architecture diagram I pasted on my previous comment.

GC isn't part of Lisp. Never was. Never will. It was invented as a tool to be used with Lisp. In fact, some Lisp dialects don't even have garbage collection.

> I have no idea where you get your numbers from.

I was exxagerating to emphasize my point.

> Java programming language isn't Java platform.

Java was originally developed by SUN together with its platform. SUN did not develop Java and then later looked how to implement it. Java was specifically developed with its implementation for a few specific projects - originally set top boxes and mobile devices.

SUN didn't develop Java for Microsoft or Google - Microsoft and Google just copied parts of it years later. If it were legal, they would have copied all of it. Microsoft then mostly abandoned Java and is no longer relevant in the Java world. Same for Google, Kotlin is now their favorite language for Android development. Incompatible platforms for Java are on the way out.

> GC isn't part of Lisp. Never was. Never will.

It's like saying flying is not something birds usually do, just because there are a few birds which don't fly.

95% of all Lisp installations (including Lisp 1) use some form of automatic memory management, usually a form of GC and the language is designed to be used that way. Lisp implementations which don't use GC need extra facilities for manual memory management.

> was exxagerating to emphasize my point.

Well, it's too easy to see, that you have no idea about actual data and it kind makes your arguments exposed to be on shaky grounds.

> Java was originally developed by SUN together with its platform.

That's incorrect. Java programming language is part of the platform.

> Microsoft then mostly abandoned Java and is no longer relevant in the Java world.

Another incorrect statement. Microsoft didn't abandon Java, they were forced to abandon Java because of legal issues with Sun. That's why they created .NET. They are irrelevant because they decided to stop fighting Sun and created their own platform.

> Well, it's too easy to see, that you have no idea about actual data and it kind makes your arguments exposed to be on shaky grounds.

Lisp isn't even in the top 30. My exxageration were accurate.

> Kotlin is now their favorite language for Android development.

Google is only doing that because they were forced by Oracle. It is a forced choice.

> It's like saying flying is not something birds usually do, just because there are a few birds which don't fly.

That's not what I mean. All I am saying is that Gabrge collection isn't a feature of a programming language, it is a feature of the platform

Thanks for the debate. I will try learning Lisp and see how it goes. Time for me to go to bed. It is 21h30 this side of the world -> South Africa.