News for hackers. Stuff that matters.

doesntmeananyth

Ask HN: How to create a simple 2D game in C?

I'm interested in learning more about graphics programming and getting into some lower level coding than I'm usually doing, so I want to start by making some simple 2D games in C.I'm particularly curious about how someone experienced in the field would approach this task using simpler tools, and that's why I'm looking at a fairly simple language like C (compared to something like C++) and doing...

( Read More... | 6 comments | 3 points | on HN )
I haven't tried Fluent yet, but—in theory—could you not have both the message identifier and the original string in your code?

Their React example kind of points towards this: https://github.com/projectfluent/fluent.js/wiki/React-Bindin...

They provide a <Localized> component, which has an identifier and wraps a piece of markup containing the original:

  <Localized id="hello">
      <h1>Hello, world!</h1>
  </Localized>
Seems like the best of both worlds.
Re:Untangling Lifetimes: The Arena Allocator on Monday October 31, 2022 @09:41AM (#33405558)
You may also be interested in this comment thread, where the author explains his opinion on Zig's approach to allocators:

https://www.rfleury.com/p/untangling-lifetimes-the-arena-all...

Re:Ask HN: Who wants to be hired? (October 2022) on Monday October 03, 2022 @12:26PM (#33069733)
Location: Georgia

Remote: Yes

Willing to relocate: Yes

Technologies: React.js, Next.js, Tailwind CSS, JavaScript, TypeScript

Résumé/CV: https://doesntmeananything.com/cv.pdf

Email: [email protected]

I am a frontend web-developer with over 5 years of experience. I have worked on a variety of web applications, including videoconferencing and video streaming apps. I am interested in solving a broad range of problems, optimizing for business needs and end-user experience.

I can work independently as well as be very productive in a collaborative setting.

Would love to chat any time!

Re:IceWM 2.0 – Ice Window Manager on Sunday December 20, 2020 @07:44AM (#25485874)
This is somewhat tautological, since consonants and vowels are already speech sounds.