Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Skinney
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
211.
▲
by
Skinney
6y ago
But probably only when the battery is in the 10-20% capacity range, right? It doesn't say in the article, but I wonder if these batteries can charge 100 miles per 5 minutes for a larger range than current vehicles. I'd happily cha
212.
▲
How Elm inspired Play
(fossils.play-lang.dev)
2 points
by
Skinney
6y ago
|
0 comments
213.
▲
by
Skinney
6y ago
To me, that is Forth.
214.
▲
by
Skinney
6y ago
It’s more that bytes aren’t necessary for the first few releases, and it will probably not be all that exciting to implement, so I’d rather focus on other things. Same with arrays.
215.
▲
by
Skinney
6y ago
Quite pleasent :) Compilers are really just pure functions of String -> String/Bytes, so a pure functional language is a pretty good fit. Besides, I know Elm like the back of my hand. I’d probably write in Elm even if it was a poor
216.
▲
by
Skinney
6y ago
Self-thought developer. Java, kotlin and Elm (fullstack) is my day job. Core contributor to Elm. If you want to create a language that can run in browsers, you either need to target js or wasm. Wasm seemed like the better fit (i’m done with
217.
▲
by
Skinney
6y ago
I see your point, but in my experience way more people have heard of Forth than "concatinative language", and of those that have heard of Forth most associate it with stack oriented programming, which is at the heart of Play. Fort
218.
▲
by
Skinney
6y ago
Like you I just really like the idea of it. It's self-hosting, and it keeps all tickets, wiki and forum posts inside the repo, so that I can work on things offline and do backups very easily. Fossil doesn't support basic code revi
219.
▲
by
Skinney
6y ago
I love historical facts like these. Thank you for sharing!
220.
▲
by
Skinney
6y ago
I don't plan to. I'm sure word redefinition is nice in certain cases, but it's not something I'm looking for in a pure and immutable language.
221.
▲
by
Skinney
6y ago
Didn't know about StrongForth. As for Kitten, I didn't like the syntax. To me the interesting thing about Forth-like languages is the postfix/rpn syntax, which Kitten moves to far away from. I really liked how `if` in Factor
222.
▲
by
Skinney
6y ago
Well, it's too late now.
223.
▲
by
Skinney
6y ago
I did consider it, but decided against it because I thought «statically typed» and «Forth» made it obvious, and I’m not a fan of long titles.
224.
▲
by
Skinney
6y ago
Depends, are you talking about holes as in a type annotation that let’s the compiler help you figure out the type, or holes as in bugs or missing functionality? In the first case, no, but I see the utility and might add it in later. In the
225.
▲
by
Skinney
6y ago
I realised that the code I found most readable were always in a pipeline, regardless of language (java: `one().two().three()`, lisp: `(-> one two three)`, Elm: `one |> two |> three`, etc) and I wondered what it would be like to pro
226.
▲
by
Skinney
6y ago
It compiles, ahead of time, to low level web assembly.
227.
▲
by
Skinney
6y ago
Yes.
228.
▲
by
Skinney
6y ago
I'm the creator of the language, AMA.
229.
▲
Play: Statically typed Forth, compiled to WASM
(play-lang.dev)
104 points
by
Skinney
6y ago
|
47 comments
230.
▲
by
Skinney
6y ago
Clojure has line comments as well.
231.
▲
by
Skinney
6y ago
Apple does all machine learning on-device. So stuff like handwriting recognition, Siri, automatic improvements of photos etc. makes heavy use of it.
232.
▲
by
Skinney
6y ago
I picked up a Clojure project I wrote three-four years ago last month and upgraded it to all its latest dependencies. No breaking changes. The HTML-based applications I've written going back the last six years all still work on modern
233.
▲
by
Skinney
6y ago
> To me, the Go approach takes your approach to major upgrades - reserve them for when you do something like rewriting the API. That's to me isn't a good assumption to bake in, I'd like to change a single function signatur
234.
▲
by
Skinney
6y ago
Were I work we have several internal libraries. When we crossed the point were one library was used in more than 3 services, we stopped doing breaking changes because it was simply to time consuming to upgrade to the next major version of t
235.
▲
by
Skinney
6y ago
If you're introducing breaking changes once per month, then your library really isn't ready. Tell people you have an unstable library. Breaking changes _will_ happen. Then, when you've used your library in production for a wh
236.
▲
by
Skinney
6y ago
There is a big gap between "breaking changes every month" and every couple of years.
237.
▲
by
Skinney
6y ago
Roughly speaking: smaller index size = greater performance. The index also has to be read from disk (if not already in memory), which is faster the smaller it is. But also, once in memory, smaller size makes key-lookups or traversals faster
238.
▲
by
Skinney
6y ago
I started using Emacs simply because there was no other editor or IDE which had good Clojure (my language of choice at the time) support. After a while, I started noticing how sluggish IDE’s and electron-based editors are. I’m now a vim use
239.
▲
by
Skinney
6y ago
LLVM bitcode is, I believe, not portable. Neither is Assembly. Nor are the resulting binaries of that processed something that is run within a sandbox.
240.
▲
by
Skinney
6y ago
> To get good performance, don't WebAssembly implementations need to use JIT-compilation internally? No. JITs are great when you're executing code which is very dynamic in nature (either because of dynamic types, or because you
More ›