Hacker Newsnew | past | comments | ask | show | jobs | submit | srott's commentslogin

Couldn’t be caused by a slower compiler? Fe. What would be a difference when cross compiling same code to aarch64 vs risc-v?

How does it compare to Shen?

https://shenlanguage.org


Kinda hard to tell when I can’t find a single example of the language on its website.


really, I did't realize there was no link

https://shen-language.github.io


Ok well that at least has examples of the syntax. But not a single example of actually using the language to do anything. That is, no examples of actual code.

It took a while to click through a link to an actual implementation on github, which had some test examples. None of which were documented.

So idk? I'm not going to buy the ebook for $41 to find out.

So to answer your original question: Liskell, despite being 13 years old and unmaintained, does actually have an accessible document that _explains what it is_.


What are the reasons why PyPy hasn't caught on? I know about PyPy for ages, but I still haven't given it a try, I still feel the aftertaste of anaconda...


The biggest issue has been that CPython exposes its internals to native libraries, thus since many Python libraries are actually thin bindings to native libraries, this reduces the interest in using PyPy.

There is now new ABI proposal that should work across Python implementations, proposed by PyPy, but the uptake seems slow.

https://discuss.python.org/t/c-api-working-group-and-plan-to...

https://doc.pypy.org/en/latest/extending.html

With a good enough JIT, the amount of native libraries wouldn't be needed to the extent it is..


> rest of the post is me trying to make sense of the tutorial on borrowing. It has fried my brain and negatively affected my skills in modern Rust, so be wary

I think that tutorial discouraged me from really getting into Rust


I’m no expert in Rust, but have done a couple of very minimal weekend projects. In the time I’ve read up on Rust, I’ve always looked at the borrow mechanism like an extreme/overactive implementation of RAII from C++, that is triggered with every context change.

Would be interested to hear where this analogy breaks down from someone more experienced than me.


Borrowing and RAII are basically separate features, though they do interact.

RAII in Rust is like C++, but simpler: there are no constructors, only destructors. The Drop trait gets called like in C++, except that in Rust, moves are the default, and destructors don't get called on moved-from objects, that is, your destructor only runs once.

References are, at runtime, the same as a pointer in C++, except they cannot be null. We also say that they "borrow" what they refer to, which means that the compiler keeps track of the lifetime of the referent. This ensures that the referent always outlives its reference, so that its reference is always valid. This is a compile-time analysis on the control-flow graph of your program.

Does that make sense?


What is the future for MAUI, anything changed in last months?

https://www.reddit.com/r/dotnetMAUI/comments/1l1xiib/entire_...


Oh no, such elegant and sweet c style util you ruined it at the end!


I wish I had a RSS reader to feed this to...


Miniflux is pretty good and easy to self-host:

https://github.com/miniflux/v2

https://miniflux.app/docs/docker.html


One of my favorite RSS readers is https://vore.website - river of news, no unread indicators, simple. It's a website, as the domain suggests, so no need to install anything.


> as the domain suggests

It suggests a couple of things...


Yeah, after the appropriate layers of VPN/Incognito/Tor/muted phone/etc I braved the link, and it turns out it's actually real, but that is still not a hostname I want connected to me in anyone's access logs more than once.


Good news, you can grab the source code and host it yourself on a less troubling domain:

https://git.j3s.sh/vore

It's under the NON-VIOLENT PUBLIC LICENSE v5, which is probably not open source, but should be fine for personal use if you're not an arms dealer or prison warden.


There's more RSS readers than you can count. No need to pick a proprietary one with a sketchy license when there are tons of great open-source options.


If you're on iOS/MacOS, try https://netnewswire.com. Old-school high-quality free macOS app.


I'm happy with FreshRSS


Only way I know to remove a file from a commit is by using git commit.

I’m also most comfortable with gitk when reviewing branches


git commit -> git gui


Thanks for that correction. I was quite confused.


Elvish was a bit slow to me, nush is nice but I found out I can do most of the tasks using yq and jc more intuitively.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: