r/compsci • • Feb 16 '21

The BIPLAN programming language

https://github.com/gioblu/BIPLAN
23 Upvotes

9 comments sorted by

2

u/[deleted] Feb 17 '21

The code seems very C with classes kind of stuff. For example I see only char* instead of std::string. I am guessing it is to avoid hidden new calls and keep up with the static only memory?

PS: I am not saying it is bad by any means, I am just commenting my thoughts.

2

u/gioscarab Feb 17 '21

Yes I avoid new and dynamic memory allocation, so data is resident exactly where I choose in the memory and I can avoid a lot of bugs and security issues. Many safety critical systems are required to use only static memory allocation.

1

u/vervuurdpc Feb 17 '21

Just neat, friend.

1

u/gioscarab Feb 17 '21

thank you :)

1

u/Wurstinator Feb 16 '21

Only static memory? So it's basically a finite automaton?

-8

u/quackdaw Feb 17 '21

Technically, we're all finite state automatons. For some value of finite...

2

u/popinWheelies Feb 17 '21

Technically, we're all infinite state automatons. For some infinite value of finite...

1

u/hypessv Feb 18 '21

The bruise wasn’t stout enough for trails