snaggen

joined 2 years ago
 

87261 rust lines added 76766 / 77063 C++ lines removed ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 99 %

#riir #rustlang

--

The reader and input stack have been ported, which is basically everything. There's still some entry points in C++ (PR being reviewed) and test helper binary (might make a good external contribution as it's entirely self-contained), but almost all of the C++ is gone, and with it large chunks of the FFI.

Now we just have the second 90% to go - making sure this rewritten fish is portable and distributable!

[–] snaggen@programming.dev 4 points 2 years ago (1 children)

Ok, I don't know what is more worrying, that a developer fails to find prettier on GitHub, or that a developer fails to Google it. But I guess that if you fail this, you were probably not the target audience for the challenge.

[–] snaggen@programming.dev 3 points 2 years ago (3 children)

They say you should pass 95% of the Prettier JavaScript tests to win the price.

[–] snaggen@programming.dev 2 points 2 years ago* (last edited 2 years ago)

No, that is not a valid reason to look that bad, JetBrains Mono is a fixed with font and it manages to get the characters evenly distributed.

[–] snaggen@programming.dev 1 points 2 years ago (5 children)

Just looked at the screenshot on the Victor Mono page and the kerning makes me want to rip my eyes out....

[–] snaggen@programming.dev 8 points 2 years ago (2 children)

Ok, after reading some comments on other places, I think I get it now. While you are free to use their open sourced tool chain, which is what they have certified, you still doesn't fulfilling the legal requirements unless you buy the certified tool chain. Just because it is open source, doesn't legally guarantee that is what's certified.

So, you pay to get the legal status of the certification. Did I understand this somewhat correct?

[–] snaggen@programming.dev 5 points 2 years ago (3 children)

I must say I am a bit confused. They are open source, and some previous blog post said they are certifying upstream. Yet, they sell quality managed licenses. So, what are these licenses and why are they needed?

[–] snaggen@programming.dev 18 points 2 years ago

It's LLMs all the way down.

[–] snaggen@programming.dev 4 points 2 years ago* (last edited 2 years ago) (1 children)

FYI: Not the author, just found it to be an interesting read. Notified the author, so lets hope he joins in for a nice discussion.

[–] snaggen@programming.dev 32 points 2 years ago (9 children)

Saudi Arabia felt Twitter was a problem, so they paid Elon to take it down in a way it wouldn't come back.

[–] snaggen@programming.dev 2 points 2 years ago (1 children)

And the Copy question.It is not that s reference has to implement Copy. A reference IS Copy, by the simple fact that it is a primitive value on the stack.

[–] snaggen@programming.dev 4 points 2 years ago* (last edited 2 years ago) (2 children)

A reference &T holds a pointer, ie. the memory adress to the actual content of T

So, in the example x doesn't hold the value 42, it holds the memory adress to the memory there the integer value 42 is stored. So, to access the value, you need to dereference the reference. Which is why you need to use *x when you assign the value.

view more: ‹ prev next ›