Better HN
topnewbestaskshowjobs
Log inSign up

wolfspaw

215 karma · joined Jun 3, 2022 (4y ago) · 40 submissions

Submissions

1.

IA Addiction: is the world going to get nuts?(beauty-of-imagination.blogspot.com ↗)

1 points · by wolfspaw · 1y ago · discuss

comment 1y ago · link · parent

Damn, 50x better =O

comment 1y ago · link · parent

great comment! And you're right, one of the biggest Strengths of Rust is Move done right. With const, borrow, move, ref rules... the default way usually does not make unnecessary copies.

And when you want to make a copy, to escape lifetime annoyances for example, you do a .clone() that very explicit marks a point of a Copy.

comment 1y ago · link · parent

Great Parody, taken very far with the Python code and Math decomposition xD

comment 1y ago · link · parent

There are antibot measures that do not depend on JS or cookies, like asking the name of a Red fruit, and the server adding the IP to allowed.

Very easy to bypass for sure, but custom enough to protect you from the horde of generic bots =p

comment 1y ago · link · parent

Lol, thats insane.

And awesome, I love it!

comment 1y ago · link · parent

" I was gaining a lot of money with Ruby on Rails

Then, I decided to move to Common Lisp and start gaining less and less money

Then, I decided to move to C and got Nerd Snipped "

Well, atleast he seems more happy xD

C is cool though

comment 1y ago · link · parent

Nice! With this Jailbreak can one install a Manga/Novel aggregator/reader like Mihon Manga reader?

9.

Rust doesn't belong in the Linux Kernel(felipec.wordpress.com ↗)

9 points · by wolfspaw · 1y ago · 6 comments

10.

Countermeasures v.s supply chain attacks, Where Rust can be UNSAFE in practice(kerkour.com ↗)

2 points · by wolfspaw · 1y ago · discuss

comment 1y ago · link · parent

Odin is the best (followed by Zig)

Odin has the best approach for "standard library" by blessing/vendoring immensely useful libraries

Odin also has the best approach for Vector Math with native Vector and Matrix types

12.

Fat Rand: How Many Lines You Need to Generate a Random Number? Bloat Dep in Rust(lucumr.pocoo.org ↗)

3 points · by wolfspaw · 1y ago · discuss

comment 2y ago · link · parent

Nah, the background picture is based xD

comment 2y ago · link · parent

Your stylized fbterm screen is awesome, always good to have a cute anime girl lol.

Really good colors and organization of the terminals, it would be great for serious work too in my view =p

comment 2y ago · link · parent

I agree wholeheartedly, I really liked your article and fix.

(In fact, I already had your article bookmarked xD, and I’m familiar with and truly admire your work)

comment 2y ago · link · parent

Really liked the trick of defining the struct in the return part of the function.

Array pointers: Array to pointer decay is extremely annoying, if it was implemented as Array to "slice" decay it would be great.

Static array indices in function parameter declarations: awesome, a shame that C++ (and Tiny C) do not support it >/

flexible array member: extremely useful, and now there are good compiler flags for ensuring correct flexible array member usage

X-Macro: nice, no-overhead enum to string name. Didn't know the trick

Combining default, named and positional arguments: Named-arguments/default-arg, C version xD. It would be cool if it was added to C language as a native feature, instead of having to do the struct hiding macro.

Comma operator: really useful, specially in macros

Digraphs, trigraphs and alternative tokens: di/tri/graphs rarely useful, alternatives synonims of iso646.h are awesome, love using and/or instead of &&/||

Designated initializer: super awesome, could not use if you wanted C++ portability. Now C++ supports some part of it.

Compound literals: fantastic, but in C++ it will explode due to stack deallocation in the same line. C++ should fix this and allow the C idiom >/

Bit fields: nice for more control of structs layout

constant string concat: "MultiLine" String, C version xD

Ad hoc struct declaration in the return type of a function: didn't know this trick, "multi value" return, C version xD

Cosmopolitan-libc: incredible project. Already knew of it, its awesome to offer a binary that runs in all S.Os at the same time.

Evaluate sizeof at compile time by causing duplicate case error: ha, nice trick for debugging the size of anything.

comment 2y ago · link · parent

(FORCE) Pusheedd to Prod on FRIDAYY -- Burneeeddd by its Sins

comment 2y ago · link · parent

Nice, Golang is Awesome!

comment 2y ago · link · parent

I would love that proposal, having to import 400 third-party crates can be a terrible approach for Safety

comment 2y ago · link · parent

C evolves, even if slowly.

I think some devs are fed up of Complexity and excessive abstractions.

C has very few language features, it's a very simple language -- while all modern languages have new (complex and taxing) features.

It's kinda like a Minimalist movement, can we do the same Modern Mumbo Jumbo but in a simple, minimalistic C way?

GC and RAII? Nah, just use Arenas/Pools. Or don't use heap at all.

C is an unsafe language but modern tools get better and better every year, with GCC doing really cool static analysis and finding buffer overflows at compile time.

Also, C runs anywhere and everywhere.

comment 2y ago · link · parent

Nice!

Python-like + High-performance.

And, Different from Mojo, its Fully Open-Source.

22.

Using Rust Macros for Custom VTables(lucumr.pocoo.org ↗)

21 points · by wolfspaw · 2y ago · discuss

comment 2y ago · link · parent

I agree with the other commenter: ChatGPT content =p

comment 2y ago · link · parent

Nice, Mojo seems awesome.

It has better ergonomics than Rust, and the same performance ballpark (or better?)

I Just don't trust closed source PLs...

comment 2y ago · link · parent

Really liked that single-alloc-function strategy.

Minimalist and Elegant.

comment 3y ago · link · parent

Really cool!

Competitive Programming needs a lot of speed to compete with the C++ submissions, really cool that there are Contestants using Python to win.

12