HackerTrans
TopNewTrendsCommentsPastAskShowJobs

ohr

no profile record

Submissions

The Exhaustion of Talking to a Tool

ohadravid.github.io
3 points·by ohr·17 วันที่ผ่านมา·0 comments

The Best (Query) Plans of Mice and Men

ohadravid.github.io
5 points·by ohr·2 เดือนที่ผ่านมา·0 comments

comments

ohr
·6 เดือนที่ผ่านมา·discuss
(Author here) yes! I also wrote about this (specifically in Python->Rust FFI) in another article:

https://ohadravid.github.io/posts/2023-03-rusty-python/#v2--...
ohr
·6 เดือนที่ผ่านมา·discuss
(Author here) thanks! Even as an experienced Rust developer, this is a lot of syntax which is part of what makes it archaic I think.

As usual with Rust most of it is due to inherent complexity: for example, when you deal with raw pointers, you need to specify if they are const or mut, and you must have a syntax that’s not &, and not too wordy: so * is a good choice (might be changed to &raw in the future!). And if you want to say that something is generic and the generic parameter is a pointer… you just end up with a lot of syntax.