Live data from Hacker News

The Janet Programming Language

janet-lang.org

11–20 of 124 posts

Re: The Janet Programming Language

#11
post #9
post #8

Earlier quoted context omitted.

The home page does happen to have everything necessary: it has a basic examples, a few blurbs, and a "use cases" explanation: > Janet makes a good system scripting language, or a language to embed in other programs. Think Lua or Guile. Janet also can be used for rapid prototyping, dynamic systems, and other domains where dynamic languages shine. I could see the sections reordered, but it's hard to really fault this h…

I disagree. 'Think Lua' is not an good explanation. I mean if I want Lua, I use Lua.

> 'Think Lua' is not an good explanation.

Do you have reading comprehension issues that you mistake examples for explanations and are blind to the actual explanations surrounding the examples?

> I mean if I want Lua, I use Lua.

That I know about Lua doesn't mean I want Lua. Hell, that I wanted lua in the past doesn't mean I'm closed to replacing it with something else. Given how well-known Lua is in the space, "think lua" is a rather good example.

Re: The Janet Programming Language

#12
post #9
post #8

Earlier quoted context omitted.

The home page does happen to have everything necessary: it has a basic examples, a few blurbs, and a "use cases" explanation: > Janet makes a good system scripting language, or a language to embed in other programs. Think Lua or Guile. Janet also can be used for rapid prototyping, dynamic systems, and other domains where dynamic languages shine. I could see the sections reordered, but it's hard to really fault this h…

I disagree. 'Think Lua' is not an good explanation. I mean if I want Lua, I use Lua.

FWIW, Janet's creator previous project was Fennel[0], a lisp that compiles to Lua.

[0] https://github.com/bakpakin/Fennel

Re: The Janet Programming Language

#14
post #9

Earlier quoted context omitted.

I disagree. 'Think Lua' is not an good explanation. I mean if I want Lua, I use Lua.

> 'Think Lua' is not an good explanation. Do you have reading comprehension issues that you mistake examples for explanations and are blind to the actual explanations surrounding the examples? > I mean if I want Lua, I use Lua. That I know about Lua doesn't mean I want Lua. Hell, that I wanted lua in the past doesn't mean I'm closed to replacing it with something else. Given how well-known Lua is in the space, "think…

Who knows? But could you point exactly to where it says why I should care about this language? Let's say I want to convince a cto to adopt it, what would be the edge one could/would gain? Maybe it has some exceptional libraries? Or GC pauses are deterministic, or whatever.

I mean this landing page is/should be their 2 minutes sales pitch.

Re: The Janet Programming Language

#16
post #7

That's a weird language. At first glance it looks like a hyper-imperative lisp (except turns out it doesn't Process LISts).

It's dead easy to get started. If you want to spend an hour playing with a "lisp" you're only a small download away. Clojure could learn a thing of two from this..

It's also not dogmatic. You can use mutable and immutable versions of the same data structure.

Docs are concise: https://janet-lang.org/docs/index.html

Full API is here: https://janet-lang.org/api/index.html

[edit] I fully agree that "getting started" on Clojure is easier than used to be. Anyway I still think there is room for improvement.

Re: The Janet Programming Language

#20

janet, natalie, julia ...

Are they naming programming languages after their girlfriends and wives? :)

In an interview with InfoWorld in April 2012, Karpinski said of the name "Julia": "There's no good reason, really. It just seemed like a pretty name."[
Post reply on HN