Live data from Hacker News

The Janet Programming Language

janet-lang.org

101–110 of 124 posts

Re: The Janet Programming Language

#101
post #36

Interestingly when submitting the latest tar.gz to Virustotal, Microsoft claims it contains Wacatac.B!ml Submitting one file at at time doesn't trigger it. Even packing up all the binaries and submitting that doesn't trigger is (and neither does packing up the rest of the files abd submitting them.) So I'm going to ignore MS on this one since no one else found anything suspicious either.

I've submitted a ticket about this. https://ibb.co/dQpKT3T

Thanks, although I should say that I searched for a few minutes about this Trojan and it seems Microsoft antivirus has been reporting it on other projects as well for years (since 2019 at least IIRC) and in the support forums the most upvoted answer was that the only way to stop it except for reporting every single new version as a false positive to Microsoft was to get a certificate and start signing the software.

I wonder if there is someone here from either Microsoft or Virustotal who could do something about it?

Re: The Janet Programming Language

#102

Earlier quoted context omitted.

If you name it after men you get even more problems.

Dylan, Haskell, Erlang, Pascal, etc. What’s the problem either way?

These are older so I guess that is why.

And no, no problem with me. I just pointed out one reason why people might prefer a female name for a project.

Another valid reason might be because they want to bring some women into the spotlight in what is ofte perceived as a male dominated field.

Re: The Janet Programming Language

#103
post #34

I was a donator to Janet for a little while and then eventually stopped. I think it would be a great programming language if it arrives 5~10 years earlier. Highlights to me are: green thread, TCO, easy distribution, great interop with C, flexibility of choosing between imperative vs immutable data structures. However, I just couldn't find a good use case for it. For embedded programming, I would always choose Lua if…

Thanks you very much for the support, I can totally understand that position.

We have been making great progress in terms of features since then to "flesh out" the languages and libraries including threading support, an event loop, and some basic networking (socket) support built in to the runtime. Generally though, the PL design space is already incredibly fatigued an most new languages claiming something have already been made a few times over, just doing doing one thing slightly better, so it is true we cannot truly compete in that space.

Janet is a hobby lisp(?) taken too far and I have been adding lots of features that I find useful for day-to-day programming and experiments while still being something "embed-able" into another project. Janet is not a corporate project in anyway and donations are accepted mostly as a token of gratitude and expenses used to maintain the website and CI bills. My goal is really just to make it a good, clean, useful language for my own use and not as some kind of advertisement or product for anything, it is a project I started in my college dorm and have continued working on as a passion project since.

Re: The Janet Programming Language

#104
post #5

So what is it good for? Edit:maybe my comment was too short, but for me it is important to know what problem a new language solves (better). And I seriously think the landing page does not explain it well/at all. I mean like: D is C++ done right with garbage collection (and of course expand from there). Zig and Rust are safe languages and aim to replace C (with different strategies). And of course more than one sente…

Janet's biggest draw for me was it's PEG engine and API. That is still excellent.

But I'd say the biggest draw for me now is that Janet has a lot made a lot of choices I agree with.

It's language that boots up very quickly, makes for easy building of CLI tools, compiles to statically linked executables, has full compile-time metaprogramming (Lisp style), and can interface with C libraries very easily.

It doesn't solve any particular novel problem better outside of PEGs, but it makes a lot of the right decisions. And, being a Lisp-like, it also gives enough expressive power to help you build things your way, if you want.

Most of that probably appeals to folks who a) have been programming for a while b) don't hate parens c) Are ok forging in untread territory

Janet isn't something I'd build a business on, not quite yet, but it has been a very, very satisfying hobby, and I've written a lot of small tools in it, more than Nim or Go during my times with either of those.

Re: The Janet Programming Language

#105
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 is little weird, but it's also really fun to work with, if you're doing things that don't need to ship yesterday.

Working with Janet has deepened my knowledge of the Win32 APIs, for example, because it makes writing small bits of C for interacting with them about as easy as that can be.

I also like how it makes data structures and functions look the same in terms of access, and how it handles nil.

Re: The Janet Programming Language

#107
post #96
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…

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 o…

My criterion for the list was whether or not I could find a well-known person with the given word as their birth name.

Re: The Janet Programming Language

#108
post #85

Earlier quoted context omitted.

Ada is named after a (the first) programmer… not somebody’s wife, daughter or sister.

There seems to be a slight controversy https://www.bbvaopenmind.com/en/technology/visionaries/ada-l... (don't ask me how reliable that source is)

It's very interesting, thanks for the link!

But it does not change the point. People who created Ada believed that Ada Lovelice was the first programmer and named the language after her. So it's not named after "somebody's girlfriend". The fact that they were probably mistaken does not change this. It she was brilliant anyway, even if not the first programmer.

Re: The Janet Programming Language

#109
post #49

Earlier quoted context omitted.

> It's also not dogmatic. You can use mutable and immutable versions of the same data structure. However from their description and the complexity promises it looks like the immutable collections are literally just the mutable ones without mutation ability (similar to Java's immutable* wrappers) which greatly limits their effective usefulness. > Full API is here: https://janet-lang.org/api/index.html Sadly even worse…

> Sadly even worse than clojure's which is already not great. I thought Clojure's immutable collections were generally considered good. What else would you consider "great"? Edit: or was that a complaint about the quality of the documentation, not the quality of the immutable collections?

I think the HAMTs are pretty darn solid.

I think, however, that scala raised the bar with RRB trees over the trie-based immutable vectors. And using java strings is pretty sad...

Re: The Janet Programming Language

#110
Janet is small, simple, efficient, and practical. For me it has nice syntax and sensible semantics. Great little package manager too. Very happy with and excited about Janet so far.
Post reply on HN