News for hackers. Stuff that matters.
Re:Show HN: Beef, a new performance-oriented programming lan... by beefdev on Wednesday January 08, 2020 @11:54AM (#21993169)
There's a split between class and struct. Classes are reference types and have more 'features', and structs are a lot like C structs - you have complete control over their layout and allocation.

There's future plans to add more high-perf sugars like automating some SoA and AoSoA layouts, but you can do all that manually right now.

Re:Show HN: Beef, a new performance-oriented programming lan... by tsukurimashou on Wednesday January 08, 2020 @12:02PM (#21993273)
You should probably do some perf analysis to show how Beef performs vs C / C++ for game related tasks.

Also it would be awesome for you to make a few code samples / tutorials on how to get started with game development with Beef. I'm sure it would attract a lot of people to your language if you show some "proof" it is a nice language for gamedev!

Re:Show HN: Beef, a new performance-oriented programming lan... by Lerc on Wednesday January 08, 2020 @03:18PM (#21995321)
This seems very similar to the FreePascal approach.

It's tempting to give this a go, but there are so many languages out there... Maybe I'll try a Ludum Dare in it.

Re:Show HN: Beef, a new performance-oriented programming lan... by masklinn on Wednesday January 08, 2020 @03:30PM (#21995464)
> This seems very similar to the FreePascal approach.

Also identical to Swift or C# (the latter being an explicit inspiration according to TFAA comments upthread).

Re:Show HN: Beef, a new performance-oriented programming lan... by Lerc on Wednesday January 08, 2020 @03:43PM (#21995584)
I guess that makes sense given the provenance of C#