Live data from Hacker News

Show HN: Wyzer Programming Language

github.com

41–50 of 116 posts

Re: Show HN: Wyzer Programming Language

#41
The pitch is "one ownership rule for memory, threads, and networks," but I think there are two rules in here and they pull against each other.

The resource rule as stated is linear: once you use a resource, you can't use it again. Perceus is not that. Perceus exists precisely because values are shared — it inserts dup/drop and then reuses the allocation in place when the count happens to be 1. If everything in the language were genuinely use-once, you wouldn't need refcounting at all; a linear type system gives you the frees statically. The fact that Perceus is in the design implies aliasing is allowed, which means "one owner" is a description of the socket/interrupt layer, not of memory.

That's fine as a design — but then the elevator pitch is "two rules that rhyme," and the FAQ's central claim ("you only need to learn one rule") is the thing I'd expect to break first under contact with real programs.

Related, and more concrete: Koka and Lean get away with RC partly because their data is overwhelmingly acyclic by construction. Your README shows var bindings and mutable struct fields. Mutation plus refcounting gives you cycles, and cycles leak. What's the plan — a cycle collector, weak references, a type-level acyclicity restriction, or accepting the leak? DESIGN.md would be a good place to state it outright, because it's the first question anyone with RC experience will ask.

Re: Show HN: Wyzer Programming Language

#45
post #36

I love the ambition and the fact that this is not just another "state of the art in 2015" language like I see so often. It's trying to do something genuinely different. The field of "taking stuff out of academia and making it work" is a rich and underharvested one. However, your light is hidden under a basket, to use an old metaphor. I'm having to go digging to find the genuinely new things going on. I suggest recali…

This is hands down some of the most constructive feedback we’ve received. You hit the nail on the head.

We definitely fell into the author’s trap of structuring docs "bottom-up" (Prerequisites -> Basic Syntax -> Advanced Concepts) rather than leading with our actual core innovation: choreography.

We are restructuring the main README/docs front page right now to lead immediately with a concrete example of choreographic execution (e.g., atomic multi-node orchestration / client-server emitting) before getting into standard syntax.

Really appreciate you taking the time to dig into the docs/ dir to pull this out it’s a huge help for our presentation.

Re: Show HN: Wyzer Programming Language

#47
post #44

Simplicity in the tag line but uses Result . Should've followed Zig's direction for error handling. With that out of the way looks like a fun little language.

if you think so then open an issue or contribute to it :D we can discuss about it and decide which is the best option

Re: Show HN: Wyzer Programming Language

#48
post #38

> Wyzer supports standard if/else, while, and for loops. Note that loops don't need parentheses around the condition. But why !? You know what'd be cool? If we started supporting control statements that were a bit more sophisticated! ``` do { } while (c) { if (x) break foo; } else { case foo : ...; default : ...; } ```

open an issue we can discuss about it there :D
Post reply on HN