Y
Hacker News
new
|
ask
|
show
|
jobs
by
uecker
5 days ago
I use slices in C, I just have to define them myself.
1 comments
pjmlp
4 days ago
Yeah, what a great solution, I can also use slices in Assembly, one just needs a proper macro processor like MASM and TASM from the 1990s.
link
uecker
4 days ago
yes, and if you assembly this is fine solution. Also there is no fundamental reason C++'s library types using templates are better to macros. The mechanism is basically the same.
link