Top
Best
New

Posted by v0id_isgood 17 hours ago

Show HN: Wyzer Programming Language(github.com)
So i've been working on this project since a few days (or months i should say), it's called wyzer (meaning wiser) it's a statically typed, compiled, resource-oriented programming language with integrated distributed safety via choreographic programming and perceus memory model, The reason why i began this project is out of frustration from Rust, you see it does provide safety for your memory by the strict type checking but what it does not gurantee safety against are distributed deadlocks which is basically a few independent nodes or services wait permanently for resources or messages held by each other, forming a circular wait, the rest are cross-service correctness and protocol mismatch as well. If we are specific over here Wyzer works on mainly generalizing the concept of choreographic programming in a high level programming language because its the very few attempts of actually solving these gaps of safety. Instead of borrow checkers and lifetimes wyzer has linear/affine types and a perceus reference counting which is computationally much simpler for an LSP to understand as well

after 5 months of research and a few weeks of development i am soon going to release version 0.1.0 of it, if you would like to contribute to it you're most welcome!

184 points | 103 commentspage 2
renox 6 hours ago|
Congratulations your language is trying to solve an hard problem.

But .. your language mostly hide when you're doing an 'inside' function call or an 'external' function call. I'm not sure I like this; 1) the latency of both operation is very different so you want to minimise the number of 'external' function calls 2) what happens in case of 'timeout' for external function calls? I didn't see it in the doc, did I miss it?

jnpnj 12 hours ago||
It would be worth writing examples of the resource ownership model (especially network wise), this is the rare feature here it seems.

ps: were you looking at efforts such as clojure electric (https://github.com/hyperfiddle/electric) ? they aim to represent computation on different hosts as one expression.

slifin 14 hours ago||
Reminds me of https://github.com/lovrosdu/klor
onlyrealcuzzo 11 hours ago||
As someone working on a language in this space, I think your README could be much better.

Most of the important stuff is in this section:

```3. What's Actually New About It?```

But you don't really go into any details about what's actually happening, have any honest conversation about any trade-offs, mention anything about why this is memory safe & correct now (highly skeptical), or why you have a clear path towards that in the near future.

From the VERY brief examples you show, it looks like it's just Rust without a borrow checker. The borrow checker gives Rust a bad reputation, but it's only a very small part of why Rust is hard. You didn't give any insight into how you're solving the rest of the problems.

rrook 13 hours ago||
Would you say that "choreographic programming" is different from an architecturally-aware compiler?

https://hale-lang.org/articles/claims-in-hale/

bckr 14 hours ago||
I like the ideas a lot. The Readme needs some polish (I think it’s great that it reads as hand-written; an LLM could make suggestions that make it just 10% easier to read).

Is choreographic programming the same as session types?

fxj 9 hours ago||
wow it is great to see that there is still life in distributed programming languages. I would like to know what are the differences to MPI programming, chapel and PGAS languages like Co-Array Fortran and the rust extension ChoRus?

Can you you give a hello world example in each of them and show where your languages shines?

reactordev 14 hours ago||
https://github.com/Wyzer-Lang/wyzer#3-control-flow

Is mut a thing? looks like rust.

v0id_isgood 13 hours ago|
examples aren't updated yet some guy who mocked me earlier for the language on discord deleted his statements and walked away blocking me after giving me his hacker news credentials, now here i am answering to your questions
reactordev 12 hours ago||
wait what? You're joking. Some rando just picked a fight, walked it back, then gave you his HN account?
srean 11 hours ago|
Could one compare choreography with this model

https://felix-tutorial.readthedocs.io/en/latest/intro_corout...

Note this is for cooperative threading.

More comments...