3 ms·
Interesting. Anyone used Janet before? It sounds like a promising language. The fact that it supports mutable strings is a little disconcerting, though.
by christophilus 7y ago
Interesting. Anyone used Janet before? It sounds like a promising language. The fact that it supports mutable strings is a little disconcerting, though.
- DennisP 7y agoI haven't yet but I think I will, partly because I've always been intrigued by lisps. Also, I hope they never change their logo, which looks a lot like my late mother did when she was young. She was also named Janet.
- capableweb 7y agoThat's a nice coincidence :) Seems the inspiration for the name comes from The Good Place, and the logo seems different enough that they won't sue the owner of the project, as the face in the logo is not that similar to Janet from the TV show. > Why Janet? Janet is named after the almost omniscient and friendly artificial being in The Good Place
- Scarbutt 7y agoFrom where do you get that strings are mutable?
- threatofrain 7y ago> * Mutable and immutable strings (buffer/string) https://janet-lang.org/ https://janet-lang.org/
- zdragnar 7y agoIn context of the other bullet points, buffer is the mutable variation. I can't say that I find that to be too disconcerting
- brabel 7y agoIt is not disconcerting. It is necessary if you want to perform string operations efficiently. Java has String and StringBuilder for the same purpose. Rust has str (always static, immutable) and String (can be mutable). This is very common in non-scripting languages.
- loosetypes 7y agoI love how the site has an embedded repl. Anyone know if there’s a preferred way to implement this?
- didibus 7y agoIt's a neat little scripting language. Useful in the same places you'd find Lua useful.
- cellularmitosis 7y agoStartup time is fantastic! https://github.com/janet-lang/janet/issues/324#issuecomment-623039842 https://github.com/janet-lang/janet/issues/324#issuecomment-...
- pull_my_finger 7y agoWhy is that a problem? Most of the data types have mutable and immutable variants. buffer -> string, table -> struct, array -> tuple. The mutable variants have a `@`. https://janet-lang.org/docs/syntax.html https://janet-lang.org/docs/syntax.html