Viewing profile — keithasaurus
keithasaurus
HN member- Joined
- Fri, Apr 28, 2017, 12:54 AM UTC
- HN karma
- 418
- Public activity
- 112 items
- HN profile
- View on Hacker News ↗
About keithasaurus
No profile information was provided.
Recent public activity
-
comment
Comment #49236507
Blorp. https://blorp-lang.org It takes inspiration from Python, Rust, Go, and functional programming. It's oriented toward readability, safety, and speed. I'm finishing up the jour…
-
comment
Comment #48887627
https://blorp-lang.org Taking a bit of a detour with self-hosting the language, now that the syntactic surface, standard library, and initial dependency strategy are on a decent fo…
-
comment
Comment #48379618
The memory management model is automatic reference counting, with some optimizations, such as perseus for compile time reference counting where possible, and copy-on-write at runti…
-
comment
Comment #48379585
I'm the creator of Blorp -- this made me chuckle a bit. I hadn't even considered that possibility.
-
comment
Comment #48379376
Yes, it's python-inspired. Some notable differences are: - no return keyword - match/if are expressions - it's functional - =? is used for early returns or binding, depending on th…
-
comment
Comment #48379285
Yeah, this is the idea. This chaining is exactly the same as the pipeline operator in some some function languages, except that it hopefully reads in a more familiar way to program…
-
comment
Comment #48379273
Yes, blorp does that. And it also allows local mutation and loops inside pure functions, so performance doesn't need to be left on the table in most cases.
-
comment
Comment #48379261
Hi, maintanier of blorp here. I think you mean that [1,2,3].map(func(x): x *2).filter(func(x): x > 5) would iterate twice, correct? Under the hood blorp optimizes that away for the…
-
comment
Comment #48377903
Hey - I'm the creator of Blorp, and like a lot of the ideas you have in Roc! Did you consider having opt-in purity? Or some other means of conveying impurity other than "!"?
-
comment
Comment #48377083
It's called blorp because it's the name of a stegosaurus my kids and I made up.
-
comment
Comment #48377068
Hey... I'm the maintainer and had no idea this was posted. The reason pure is required is because it's clear and opt-in. There's a CLI subcommand called purify that will help ident…
-
comment
Comment #48352302
Still incomplete there. But yeah performance should be decent. Not aiming for parity either rust or go entirely but in the same ball park is the expectation.
-
comment
Comment #48346002
Yeah, no shared mutable memory; coordination is done via channels.
-
comment
Comment #48343680
How is compiling to zig? I considered doing it but chose C instead because of how much zig is still changing. I've considered using it's C compiler for targeting multiple platforms…
-
comment
Comment #48343594
No, blorp doesn't use affine types (one or zero uses). In blorp, ownership is not explicitly controlled by users at all, so it's opaque. Under the hood, it's perceus for compile-ti…
-
comment
Comment #48341740
I have some similar goals. Have you considered leaning more into inference than gradual typing? One pattern I like is allowing the compiler to develop a more complex mental model, …
-
comment
Comment #48341614
Yeah, concurrency in blorp doesn't allow shared mutable references, so deadlocks aren't really a concern. Otherwise it's meant to be simple-ish -- virtual threads, channels, no asy…
-
comment
Comment #48341043
Working on something kinda similar. No GC, Python feel, managed memory, performance approaching C. It's here: https://blorp-lang.org if you want to compare approaches.
-
comment
Comment #45421682
It's not the core of koda-validate, and yeah lots of libraries have a similar capacity. Feedback I'd be interested in is if there are gaps. In general the value prop of koda-valida…
-
comment
Comment #45421291
Updating my validation library for python, koda-validate ( https://github.com/keithasaurus/koda-validate ). Focusing on ergonomics improvements. Just released an improvement to the…
-
comment
Comment #45258453
could java please also learn that stand-alone functions are cleaner than static methods? even if it's just syntax sugar...
-
story
Ask HN: What makes a programming language great for code generation?
At the moment, it seems programming language popularity might be the best indicator of whether an LLM will be proficient at generating working code (e.g. Python, JavaScript, Java, …
-
comment
Comment #44032153
For me the variation is one of the places where dynamic typing gets really dangerous, because as variations increase, the requirement for code archaeology does as well. At some poi…
-
comment
Comment #44031730
static types: here's what this piece of data is dynamic types: go look through code, tests, comments and project history to try figure out what this data is supposed to be dynamic …
-
comment
Comment #42253142
There's a bunch of these kinds of html renderers. Here's mine: https://pypi.org/project/simple-html/ But there are many others. Not sure I understand the point of async rendering, …