HNHacker News
TopNewBestAskShowJobs

MikeShah

37 karma · joined November 6, 2022

submissionscomments
MikeShah··on I still teach OpenGL ES 3.0
I have found OpenGL 4.5/4.6 to be a sweet spot for students currently learning graphics in a semester course. SDL_GPU is otherwise a good intermediate I would consider.

I remember for myself: learning a new API (opengl), new paradigm (gpu programming), and new language(glsl) all on top of learning graphics concepts is a lot. OpenGL 4.5 and 4.6 are modern enough to get started and there are good resources to learn the 3.3+ stuff that I have built on.

See my website(mshah.io) for my paper on some of the 'why'.

MikeShah··on Bobby Prince, composer for Doom, Wolfenstein 3D, and Duke Nukem 3D, has died
I've been teaching my students for years about sound and music, and I always showcase Bobby Prince's work. Here's a fun clip of him playing in the early days: https://youtu.be/9w3yoIOK-9U?is=alZLs2OSL8pJ7JEQ
MikeShah··on Elegant D
Opening talk at the recent D Language Symposium. Details and slides at Dlangsymposium.com
MikeShah··on Voxile: A ray-traced game made in its own engine and programming language
Indeed! Thanks for also linking my discussion with Wouter His early work on Cube engine and Amiga-E are still awesome to look at.
MikeShah··on 2025 Njpls – Revisiting the D Language – My 2^x Programming Language[Ep. 133]
This is a rerecording of a recent talk I gave at the New Jersey Programming Language Seminar on the D programming language. It's a brief tour of the D programming language, why I enjoy the language(i.e. my 'sales pitch'), and also why I think there's more to choosing a programming language than a single dimension (which we often do). In any case, I encourage folks to try as many programming languages and tools as you can, and see which ones you like and find which language may be your competitive advantage -- maybe it will be the D language!
MikeShah··on Programming in D: Tutorial and Reference
YouTube series has tutorials, and course videos are on my website. More slides and such will be posted on my website otherwise.
MikeShah··on Programming in D: Tutorial and Reference
No worries at all! :)
MikeShah··on Programming in D: Tutorial and Reference
We have also been using D for computer graphics and game programming as of this year! :D
MikeShah··on How Programming Languages Got Their Names
D was originally the 'Digital Mars Compiler'.

Everyone around Walter Bright kept calling it D because it was a modern language with C-like syntax. Thus, D the next letter in the alphabet and eventually Walter gave in. :)

MikeShah··on D Programming Language
Continuing to add to my playlist on the language: https://youtube.com/playlist?list=PLvv0ScY6vfd9Fso-3cB4CGnSl...
MikeShah··on D Programming Language
A few other folks (including myself) are or otherwise continue to teach D.

https://youtu.be/V2YwTIIMEeU?si=To2DBlzz30XAUptN

https://dlang.org/blog/2022/02/19/how-i-taught-the-d-program...

MikeShah··on Crafting Self-Evident Code with D
Absolutely! Any game in C#, Java, or even C++ Unreal Engine games.

https://unrealcommunity.wiki/garbage-collection-36d1da

MikeShah··on Crafting Self-Evident Code with D
It's worth noting many (A majority as I understand) AAA game studios end up writing their own STL. I'm willing to bet many industries where performance is the primary concern also write much of their core libraries from scratch.

D lets user opt-out of collector as needed which is quite nice. D has been used in AAA game development for what it's worth as well.

MikeShah··on Ask HN: Who is using the D language and likes/doesn't like it? Why?
Here is my playlist: https://youtube.com/playlist?list=PLvv0ScY6vfd9Fso-3cB4CGnSl...

Some more upcoming videos will include some tools for D's ecosystem.

I can also recommend Ali's book here as a reference to the language: http://ddili.org/ders/d.en/

MikeShah··on Ask HN: Who is using the D language and likes/doesn't like it? Why?
I like it, use it, and teach it.

- It's both fast for prototyping and also scales well for large applications.

- Compiles very fast with DMD and supports many platforms with LDC and GDC.

- CTFE (compile-time function execution) is a big win.

- standard library has enough of the common things (json, sql, csv, curl, sockets, etc.) that I need for my domain. Other stuff I can usually find a package or C library to read in if needed.

- most of the defaults seem right to me in the language versus C++ (variable initialization, struct as value type by default, explicit casting, module system, thread-local data, etc.)

Ecosystem does need a boost but I think that's actively developing, so code-d plugin for VSCode is a good place for most to start (I prefer VIM). Ecosystem seems to be slowly and steadily growing otherwise.

I can post links to more video tutorials if useful (disclaimer: I made them :) ).

MikeShah··on Time Travel Debugging Introduction on Linux
Hi Folks,

I wanted to share a video and recent article on getting started with time travel debugging using the freely available 'rr' tool on Linux (Full disclosure, I'm the author :) ).

Debugging is the number one skill (from my conversations) I hear from employers that they wish new software engineers had more experience with. Anyway, here is my small part to introduce one of many debugging technique to beginners.

Direct link to C++ and rr debugging: https://undo.io/resources/gdb-watchpoint/time-travel-debuggi...

Note, time travel debugging/reverse debugging has been around for quite some time! Check out what time travel tools your language has on the wiki if C++ isn't your default language :)

https://en.wikipedia.org/wiki/Time_travel_debugging