Live data from Hacker News

The Janet Programming Language

janet-lang.org

91–100 of 124 posts

Re: The Janet Programming Language

#91
post #81
post #32

What is with new programming languages with women's names? It seems a bit cringey to me, like the guy in my first-year cs classes who would name variables after his girlfriend.

Some historical language names that are also first names: * JOSS - male - 1966 * Pascal - male - 1970 * Ada - female - 1983 * Perl - both - 1988 * Haskell - male - 1990 * Lua - female - 1993 * Ruby - female - 1995 * Delphi - female - 1995 * Julia - female - 2011 Honorable mention: Erlang is a (male) god in Chinese Buddhism. Some caveats apply. Many language names are also surnames, I leave that to future work. See al…

Lua means 'Moon' in Portuguese

Re: The Janet Programming Language

#92

Earlier quoted context omitted.

My favorite is coffeescript so difference is roughly about a lot.

that's a lot of whitespace

But only on the left side, and a bit in the middle. And you would put it there anyways in nearly all other languages just for readability. ;-)

Re: The Janet Programming Language

#93
post #72

Is it related to the Jackson programming language?

That's an interesting question, since Jackson was literally developed by someone named Michael Jackson.

lol. I heard that Jackson is quite dead though.

... and here come the downvotes ...

Re: The Janet Programming Language

#94
post #86
post #53

Earlier quoted context omitted.

Indeed (see also "embedded Linux" being a thing), people insisting if something doesn't run on a tiny PIC it can't be useful for "embedded" is a pet peeve of mine. Depending on the context , "embedded systems" go even larger, although usually people stop calling it "embedded programming" at some point. Obviously many problems in large embedded systems are different from small ones, but others remain similar.

I imagine they are annoyed because it used to be more clear, easier to google, etc. The discussion and search space was polluted for them as the meaning of the term changed, and no new term filled the void.

"microcontroller" seems like a term that would differentiate from things like embedded Linux and SoCs.

Re: The Janet Programming Language

#95
post #66

Janet is a cool language. Back in March, we managed to port it to Cosmopolitan Libc so you can build Janet code as an Actually Portable Executable. Here's the diff you need: https://github.com/janet-lang/janet/compare/master...ahgamut... The Janet team helped us identify a lot of things we needed improve with our C library implemention too! While we've ported other languages too, like Python, Lua, etc. those users wi…

To be clear: do you package the Janet runtime + Janet code into a single run-anywhere executable? I have done a couple of toy utilities in Janet, and knowing I can produce a single distributable binary makes it even more appealing.

As an aside, Cosmopolitan is news to me, but looks quite nifty.

Re: The Janet Programming Language

#96
post #81
post #32

What is with new programming languages with women's names? It seems a bit cringey to me, like the guy in my first-year cs classes who would name variables after his girlfriend.

Some historical language names that are also first names: * JOSS - male - 1966 * Pascal - male - 1970 * Ada - female - 1983 * Perl - both - 1988 * Haskell - male - 1990 * Lua - female - 1993 * Ruby - female - 1995 * Delphi - female - 1995 * Julia - female - 2011 Honorable mention: Erlang is a (male) god in Chinese Buddhism. Some caveats apply. Many language names are also surnames, I leave that to future work. See al…

Joss: can be either male or female, as a nickname for Joseph or Jocelyn (think: Joss Whedon, Joss Stone)

Perl: doesn't strike me as a name at all, and the language name definitely wasn't referencing it (more likely a reference to the shell).

Lua: doesn't strike me as a name either, and the language was named for the moon.

Ruby: is a girl's name, but the language was named for the precious stone.

Delphi: is the name of a city, though it does reference the (female) Oracle of Delphi (the language was designed to make Oracle databases accessible).

Re: The Janet Programming Language

#97

Earlier quoted context omitted.

> which greatly limits their effective usefulness. Interesting Why? And what’s the alternative implementation?

Persistent collections with structural sharing (b-trees, HAMT, RRB-vectors, …). I can absolutely understand not using them if the implementation is intended to be simple or the systems it's running on is resource limited, but simply removing the mutation bits of mutable collections is quite limiting as it incurs large overhead when actually working with them (you have to copy the entire thing every time you want to u…

I learned a lot. Thank you

Re: The Janet Programming Language

#98
post #66

Janet is a cool language. Back in March, we managed to port it to Cosmopolitan Libc so you can build Janet code as an Actually Portable Executable. Here's the diff you need: https://github.com/janet-lang/janet/compare/master...ahgamut... The Janet team helped us identify a lot of things we needed improve with our C library implemention too! While we've ported other languages too, like Python, Lua, etc. those users wi…

That is cool! Other commentators were asking about good use cases, and living in Cosmopolitan seems to fit the bill. I like the language, except I have never liked the “low parenthesis” Common Lisp loop/for macros, which Janet’s “for” loop reminds me of. Pardon the stylistic nit-pick.

I agree: it makes a necessary small special case a huge special language of its own.

Re: The Janet Programming Language

#99
post #81

Earlier quoted context omitted.

Some historical language names that are also first names: * JOSS - male - 1966 * Pascal - male - 1970 * Ada - female - 1983 * Perl - both - 1988 * Haskell - male - 1990 * Lua - female - 1993 * Ruby - female - 1995 * Delphi - female - 1995 * Julia - female - 2011 Honorable mention: Erlang is a (male) god in Chinese Buddhism. Some caveats apply. Many language names are also surnames, I leave that to future work. See al…

Lua means 'Moon' in Portuguese

I remember a HN post where someone talked about naming their daughter Lua. They liked the name when they first heard it, and being a programming language was just a nerdy bonus.

Telling their wife that it means 'moon' in Portuguese made it an easy sell.

Post reply on HN