HNHacker News
TopNewBestAskShowJobs

ecto

1,007 karma · joined October 28, 2010

https://campedersen.com/ https://github.com/ecto/
submissionscomments
ecto··on Show HN: Rust but Lisp
Readers may enjoy my lisp, Loon, which takes heavy inspiration from Rust https://loonlang.com/guide/ownership
ecto··on OneMinusDiv is all you need
author here - the demos in the article are actually the Rust code compiled to WASM and running in your browser :)
ecto··on Open source CAD in the browser (Solvespace)
Here's my take on CAD in the browser! https://vcad.io

I implemented a full kernel in rust and compile it to wasm https://github.com/ecto/vcad

ecto··on Dune3d: A parametric 3D CAD application
<3
ecto··on Dune3d: A parametric 3D CAD application
Thanks for the bug report! I'll have some time later this week to look into it. Just had a baby :)
ecto··on Neural Boids
Simply expand the observation vector!
ecto··on Neural Boids
No dude
ecto··on Neural Boids
Fantastic question :) one could extrapolate the possibility space here to see the potential. The interesting core here is the emergent behavior clearly visible in the vizs - what happens when you measure this in higher-dimensional and more connected networks? (What if it’s not noids?) I think this is underexplored in interpretability today
ecto··on Neural Boids
gpu
ecto··on Neural Boids
ok
ecto··on Neural Boids
Thanks, which of my pre-AI blog posts are your favorite?
ecto··on Neural Boids
Thanks for the feedback!
ecto··on Neural Boids
Awesome idea!
ecto··on Neural Boids
Thanks!
ecto··on Neural Boids
Are you not entertained?
ecto··on Neural Boids
Thanks for the feedback :~)
ecto··on Neural Boids
Thanks for the feedback, I flipped the two sections.

Sorry about your mouth!

ecto··on Neural Boids
Thanks I fucked that up! Updated to make the distinction clearer
ecto··on Neural Boids
What happens when you want to simulate millions of rules?

What if they weren't noids?

ecto··on Neural Boids
Thanks for the feedback :)
ecto··on Area Man Discovers Gravity
Please check out home.phyz.dev if you want to contribute!
ecto··on phyz@home: distributed quantum gravity
hey author here, happy to answer any questions!
ecto··on Loon: A functional lang with invisible types, safe ownership, and alg. effects
thanks for the kind words :)

You're right, ownership and effects are the real differentiators. The idea here is to let the compiler discover ownership rather than it being declared imperatively

Regarding algebraic effects, Loon uses continuations similar to Koka but more restrictive. Effects are declared with operations, and every side effect (IO, failure, async, state) is an effect that propagates through the call graph. The interesting part is `handle`, which lets you intercept effects:

  [handle [load-config "app.toml"]
    [IO.read-file path] [resume "mock contents"]
    [Fail.fail msg]     "default"]
Handling an effect subtracts it from the function's effect setso a function that handles all its IO internally is pure from the outside. This replaces exceptions, async/await, DI, and mocking with one mechanism. Testing is just handling effects with test data

Multi-arity: get lost! fork me?

ecto··on Loon: A functional lang with invisible types, safe ownership, and alg. effects
<3
ecto··on Loon: A functional lang with invisible types, safe ownership, and alg. effects
good questions

1. effects are tracked in the type system as row types, so they compose with HM inference pretty naturally. the tricky part is effect polymorphism. Loon handles that similarly to how koka does it, with row polymorphism. no ambiguity issues so far but idk

2. yes, macros are hygienic! documenting some binding situations would make a great first PR :)

3. easier to type!

ecto··on Loon: A functional lang with invisible types, safe ownership, and alg. effects
exactly! I didn't post this (thank u whoever did though) so wasn't ready to launch yet. but the idea is it will SSR and hydrate each page. I want to pull it all out into a framework congruent to Next.js
ecto··on Loon: A functional lang with invisible types, safe ownership, and alg. effects
hey thank you, should all be fixed now!
ecto··on Loon: A functional lang with invisible types, safe ownership, and alg. effects
thank you <3 I will fix asap
ecto··on Lil' Fun Langs
loon is a lisp! https://github.com/ecto/loon

  [type Shape
    [Circle Float]
    [Rect Float Float]]
  
  [fn area [s]
    [match s
      [Circle r]  => [* 3.14 r r]
      [Rect w h]  => [* w h]]]
  
  [area [Circle 5.0]]
ecto··on Delphi is 31 years old – innovation timeline
My dad taught me how to code with Borland C++ Builder, and I'm forever grateful.
← PreviousPage 2 of 7Next →