chrisrodrigue

Joined 2 years ago

Karma
50
Submissions
15
Member since
Aug 24
https://github.com/chrisrodrigue
View on Hacker News

Recent submissions

Comment · 1 year ago
Web browsers are just glorified JavaScript interpreters. Making Python a first-class citizen in the browser would be sweet.
Comment · 1 year ago
Zig hits on a lot of Zen of Python.

> Beautiful is better than ugly.

> Explicit is better than implicit.

> Simple is better than complex.

> Readability counts.

What really sets Zig apart from the usual suspects (C, C++, Rust) is that it has first class compile-time reflection capabilities built into the language (comptime, @field, @typeInfo, etc.) rather than bolted on as macros or templates.

Comment · 1 year ago
Pretty awesome if you ask me.

Why even use Unity if this exists? Why even install an app if you could feasibly run a full-blown game with 3D physics in the browser on your iPhone at 60 FPS? Where in the world are all the browser-based games?

Comment · 1 year ago
...isn't that what templates were made for? Template metaprogramming in C++ is Turing-complete.
Comment · 1 year ago
We have a handful of ways to create strings now.

Meanwhile, pytest is still not part of the standard library.

Comment · 1 year ago
Comment · 1 year ago
From https://github.com/python/cpython/issues/99108#issue-1436673...:

> As evidenced by the recent SHA3 buffer overflow, cryptographic primitives are tricky to implement correctly. There might be issues with memory management, exceeding lengths, incorrect buffer management, or worse, incorrect implementations in corner cases.

This is a proactive fix for zero days that may be lurking in the wild.

Comment · 1 year ago
Comment · 1 year ago
Yeah, embedded C++ is a wildly different experience from vanilla. I've worked in large embedded C++ codebases where we couldn't use the STL and had to use homegrown containers for everything.

I wonder how Rust is stacking up (no pun intended) in the embedded game these days.

Comment · 1 year ago
They are grumpy about having to install the Rust compiler for a good reason. You can’t compile for Rust on Windows without using MSVC via Visual Studio Build Tools, which has a restrictive license.
Comment · 1 year ago
Linear Algebra Unit?
Comment · 1 year ago
Comment · 1 year ago
Python is really shaping up to be the lingua franca of programming languages. Its adoption is soaring in this FOSS renaissance and I think it's the closest thing to a golden hammer that we've ever had.

The PEP model is a good vehicle for self-improvement and standardization. Packaging and deployment will soon be solved problems thanks to projects such as uv and BeeWare, and I'm confident that we're going to see continued performance improvements year over year.

Comment · 2 years ago
I love this kind of detective work. It blows my mind how easy it is to pinpoint someone with the smallest bits of identifying info.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton