HNHacker News
TopNewBestAskShowJobs

fayalalebrun

262 karma · joined January 10, 2023

submissionscomments
fayalalebrun··on Writing Python like it's Rust
What do you do when your dependencies don't have types? Also, with speed do you mean compilation or runtime?
fayalalebrun··on Show HN: Learn Rust 101 – A guide to aid your journey of becoming a Rustacean
If your product not only requires a backend but also things like using 3D graphics APIs or interaction with low-level OS APIs, then Rust can be a great choice. One of the best things about Rust is that it is well suited for everything C is used for, but at the same time is very ergonomic for things like web backends.
fayalalebrun··on Linux 6.3 to Remove Obsolete GPU Drivers: ATI Rage 128, 3Dfx, S3 Savage, I810
Would it even be possible to get the userspace drivers for these cards working with a kernel this new? Wouldn't you need to compile a really old version of mesa? In that case I'd imagine you'd need all your libraries and programs to be from 20 years ago as well.
fayalalebrun··on Learning Verilog and FPGA
Chisel is compiled to Verilog so it has excellent interoperability. You can use Chisel in an existing Verilog project or use existing Verilog modules in a Chisel project. Therefore it is already supported by practically all vendors and simulators.

I've used Chisel to interface with proprietary Lattice DSPs and RAM modules, and I'm sure you could do the same with other vendors as well. All you have to do is define the IOs and parameters of the module. In Chisel this is called a "Blackbox". Example: https://github.com/fayalalebrun/6502-exp/blob/master/src/mai...

fayalalebrun··on Learning Verilog and FPGA
You should try out Chisel. I learned and used VHDL first, but after switching to Chisel I realized it was much better designed and avoided many of the footguns you'll likely encounter with Verilog or VHDL. And in general, it is a joy to work with.
← PreviousPage 2 of 2