HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ledgerdev

no profile record

comments

ledgerdev
·4 года назад·discuss
If it's good enough for avionics and nuclear subs, it's probably good enough for most web apps.
ledgerdev
·4 года назад·discuss
Here's sqlite doing 100 million inserts in 33 seconds which should fit into nearly every workload, though it is batched. https://avi.im/blag/2021/fast-sqlite-inserts/

So write contention from multiple connections is what you're talking about, versus a single process using sqlite?
ledgerdev
·4 года назад·discuss
Containers do not provide sufficient isolation to run untrused binaries. That's why aws built and uses firecracker for lambda.
ledgerdev
·4 года назад·discuss
Actually that's incorrect, there are a nunber of wasm runtimes that don't use v8. Here's links to a couple.

https://wasmtime.dev/

https://www.fastly.com/products/edge-compute
ledgerdev
·4 года назад·discuss
It seems to me that WASM is clearly a better suited technically as the core runtime of the future for serverless platforms... but the question is are isolates the VHS and WASM the Betamax in this story?
ledgerdev
·4 года назад·discuss
If you don't care about isolation... to do so requires a VM to securely isolate and that is a significant startup time and resource usage over a wasm module.
ledgerdev
·9 лет назад·discuss
So nice to hear someone else say this, and I feel the same about CLJS.

And yeah WASM is looking pretty promising (threads/gc/efficiency), and a CLJ like language that targets it directly would be so interesting for the very long term future.
ledgerdev
·9 лет назад·discuss
If you attempt to use edit/compile/restart method of development that most languages use, in the words of south park, "You're gonna have a bad time".

Clojure doesn't make it nearly clear enough that development needs to be performed interactively against a running instance of your application, with a REPL integrated into your editor. And yes tests run instantly when doing this.

Anything else is pure pain.
ledgerdev
·9 лет назад·discuss
Well at the moment, the tooling is all lein/JVM based.

That said, Figwheel hooked up with atom+protorepl+parinfer is pretty amazing if you haven't tried it.

https://github.com/bhauman/lein-figwheel

https://www.youtube.com/watch?v=0WMga5E7Vsk
ledgerdev
·9 лет назад·discuss
I feel most syntax themes are designed for syntax based languages and make the parenthesis far too dark/prominent and it's visually overwhelming.

If you dial back the color of parenthesis and brackets to a lighter grey, the experience is almost like writing python with parinfer.
ledgerdev
·9 лет назад·discuss
You should look into Clojure Spec. It's a very nice balance of trade-offs for helping developers build correct software. While it uses a different approach than static typing, it seems a more natural fit for dynamic languages. Plus it's sort of a toolkit to be used in many different ways.
ledgerdev
·9 лет назад·discuss
Agreed. I suspect one current thing hurting adoption from the JS community is the very heavy JVM based tooling. With the Google Closure compiler now running on top of JS, there would seem to be a path for the CLJS(not clj) tooling to become more JS ecosystem friendly.

For the JS developers out there, is this something that's of interest? Or is the existing tooling(lein) good enough? What would be your ideal tooling story?