Better HN
topnewbestaskshowjobs
Log inSign up

MikeShah

37 karma · joined Nov 6, 2022 (4y ago) · 19 submissions

Submissions

comment 4w ago · link · parent

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'.

comment 5mo ago · link · parent

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

comment 7mo ago · link · parent

Opening talk at the recent D Language Symposium. Details and slides at Dlangsymposium.com

4.

Elegant D(youtube.com ↗)

2 points · by MikeShah · 7mo ago · 1 comment

comment 8mo ago · link · parent

Indeed! Thanks for also linking my discussion with Wouter His early work on Cube engine and Amiga-E are still awesome to look at.

comment 1y ago · link · parent

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!

7.

2025 Njpls – Revisiting the D Language – My 2^x Programming Language[Ep. 133](youtube.com ↗)

2 points · by MikeShah · 1y ago · 1 comment

comment 1y ago · link · parent

YouTube series has tutorials, and course videos are on my website. More slides and such will be posted on my website otherwise.

comment 1y ago · link · parent

No worries at all! :)

comment 1y ago · link · parent

We have also been using D for computer graphics and game programming as of this year! :D

comment 2y ago · link · parent

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. :)

comment 2y ago · link · parent

Continuing to add to my playlist on the language: https://youtube.com/playlist?list=PLvv0ScY6vfd9Fso-3cB4CGnSl...

comment 2y ago · link · parent

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...

comment 3y ago · link · parent

Absolutely! Any game in C#, Java, or even C++ Unreal Engine games.

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

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

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/

comment 3y ago · link · parent

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 :) ).

comment 3y ago · link · parent

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

19.

Time Travel Debugging Introduction on Linux(undo.io ↗)

13 points · by MikeShah · 3y ago · 2 comments