Better HN
topnewbestaskshowjobs
Log inSign up

Mierenik

1 karma · joined Jun 26, 2026 (5mo ago) · 4 submissions

Submissions

comment 4mo ago · link · parent

No, Python is a slow and high level language, so there are aren't many examples or documentation out there for graphics, and you need very high performance for graphics, and python just doesn't get you that. Learn c++ or rust, or even something else but it has to be fast and pretty low-level

comment 4mo ago · link · parent

Depends on what you want to do.

If you just want to make a game, use a game engine like Unity, Godot or Unreal.

If you want to do graphics, like making engines, simulations, renderers then you should learn a low-level language and a graphics API. For the language I recommend C++, you can also use C or Rust but C might be a bit too difficult and you don't want to fight the language since graphics APIs are already hard. Rust might also be a good choice but I personally find the compile times very slow and the syntax to be ugly.

As for the API, go with OpenGL, it's cross-platform, old (which is good and bad at the same time) and is the easiest of them all.

learnopengl.com is by far the best tutorial on opengl, so I suggest following that.

After using opengl for a while you can branch out and use something like Vulkan or a graphics library that implements all of them, or even keep using opengl if its fine for you.

It's definetly not easy but it's one of the most fascinating parts of CS imo

comment 5mo ago · link · parent

I built a programming language from scratch in C++. It has a C-like syntax with modern features: structs, enums, arrays, pointers, and a module system for splitting code across files.

The compiler pipeline goes: lexer - parser - semantic analyzer - LLVM IR - native binary.

I also wrote a standard library in C that Techlang functions can bind to using an extern keyword.

Next up is a GPU compute companion language that can call into Techlang code natively since both target LLVM IR. Haven't seen anyone else do this.

Blog post about how I built it: https://gummyniki.github.io/portfolio/blog/posts/compiler.ht...

4.

Techlang – a compiled, statically typed language targeting LLVM(github.com ↗)

1 points · by Mierenik · 5mo ago · 1 comment