Better HN
topnewbestaskshowjobs
Log inSign up

blackmat

23 karma · joined Jul 22, 2015 (11y ago) · 21 submissions

Submissions

comment 1y ago · link · parent

Yeah! Long live Lua! :-)

comment 1y ago · link · parent

Comparative benchmarks are a big task on their own, and usually the author's library wins in them. I have internal benchmarks in the repository, but they are not designed for comparison or for evaluation by outsiders. Maybe I'll get to that someday.

As for the SoA approach, here you can find a small and exaggerated example: https://luajit.org/ext_ffi.html

comment 1y ago · link · parent

Honestly, it's just a fancy way of saying I learned a few things from earlier attempts and made some tweaks. I just think "evolved" sounds cool!

comment 1y ago · link · parent

Not yet, but I wrote this library to use in a project of mine. When I finish it, I will add a link to the README. As for a small demo project, I have one in mind, but I haven't started it yet.

comment 1y ago · link · parent

Yeah, tiny-ecs is good, but it doesn't quite fit my needs. With these thoughts in mind, I started this project.

comment 1y ago · link · parent

Hmm! I haven't heard of JECS before. I need to check it out :-) Thanks for the kind words!

comment 1y ago · link · parent

Yes, organizing components as SoA can provide a significant performance boost in Lua, especially with LuaJIT. Both iteration and element access become faster, and it also reduces memory allocations and GC pressure when creating entities. And yes, Lua tables can be contiguous in memory if you use them carefully.

8.

Show HN: Evolved.lua – An Evolved Entity Component System for Lua(github.com ↗)

55 points · by blackmat · 1y ago · 16 comments

9.

Show HN: New C++ compile-time enum reflection library(github.com ↗)

2 points · by blackmat · 7y ago · discuss

10.

Show HN: There is a new C++ mini-project of wrapping cURL library(github.com ↗)

1 points · by blackmat · 7y ago · discuss

11.

Show HN: New mini-library of flat vector-like based associative containers(github.com ↗)

1 points · by blackmat · 7y ago · discuss

12.

Flash-animation in Unity3D from scratch. Part one, lyrical (Article)(medium.com ↗)

1 points · by blackmat · 7y ago · discuss

13.

Show HN: Simple and header only C++14 asynchronous promises like a Promises/A+(github.com ↗)

3 points · by blackmat · 7y ago · discuss

14.

Isometric Plugin for Unity3D (Article)(medium.com ↗)

2 points · by blackmat · 7y ago · discuss

15.

Currying and partial application in C++14 (Article)(medium.com ↗)

1 points · by blackmat · 7y ago · discuss

16.

Show HN: New experimental library for currying in C++14(github.com ↗)

3 points · by blackmat · 9y ago · discuss

17.

Unity Isometric 2.5D Toolset v2.0 Released(matov.me ↗)

1 points · by blackmat · 11y ago · discuss