HNHacker News
TopNewBestAskShowJobs

cbrewster

271 karma · joined June 25, 2016

platform engineer @ replit.com
submissionscomments
cbrewster··on Deriving Traits in Rust with Procedural Macros
Great article, there aren't many resources for writing proc macros right now.

However, I think this could be done with a generic impl of WritableTemplate for all T where T: Template.

cbrewster··on Goodbye, EdgeHTML
If you use DDG as your primary search engine, you can use ! commands to redirect to search on other sites (like YouTube !yt, Wikipedia !w, etc...). Using your example, you could just do "!yt my video"
cbrewster··on iMac Pro Available Now
What? The page linked has drivers for macOS. They work on a hackintosh and on any regular Mac. Nvidia wouldn’t release official drivers that only work on a hackintosh.
cbrewster··on I tried Haskell for 5 years
I would also give a recommendation to elm. It is like a simpler version of Haskell and its relatively easy to build something quickly(no affiliation either).

I always had a hard time wrapping my head around functional programming, but elm was easy to understand and shows off the strengths of a functional approach.

cbrewster··on Rust is Software's Salvation
Not sure why marketing Rust implies that the community is trying to defend it. Honestly, I enjoy sharing with my experience with Rust because I personally enjoy writing in code with Rust and want to share that with others! Nobody is saying Rust is perfect or doesn't have tradeoffs.
cbrewster··on Rust is more than safety
Considering Rust's target audience, I think comparing Rust to scripting languages is ok. While Rust is aiming to compete in the system programming arena, it also aims to allow programmers who have experience using higher level languages to be able to get into systems programming without having to worry about safety. Rust has many features that make it almost feel like a high-level language and thus makes it much more approachable. That being said, Rust does not aim to really replace Ruby/PHP or Javascript, but rather a be a tool available to those programmers to write fast and safe code when needed.
cbrewster··on Servo Nightly Builds Available
The issue with the codesigning is mentioned on download.servo.org, hopefully in the future, we can set up some infrastructure to codesign the app. :)
cbrewster··on This Week In Servo 69
Its Connor MacLeod, not John Connor ;)
← PreviousPage 2 of 2