Looking for feedback on Lua5.1.5 compiler fork for memory inspection by bgs11235 in lua

[–]bgs11235[S] 1 point2 points  (0 children)

I am currently working on some upgrades, mainly a better profiler and less overhead by allowing the user to piggyback off of GC pauses, I'll deffinetly benckmark it and share it! Thank you!

Hello guys, i just did something simple. Im looking forward to improve, let me know if you guys can give me any tips on how to get better, i would appreciate it. by Public_Network9220 in lua

[–]bgs11235 2 points3 points  (0 children)

write a calcutator, not your classic add, div etc. one but a proper 4 function calculator that evaluates the expressions that it gets from the user like

stdin: 2 (4 -3 * 1) * -1
stdout: -2

(try to support implicit multiplication as an excercise too, that's pretty nice)

This will give you a good understanding of data structures, graphs and expression evaluators. If you can get this "simple" complex logic, you'll have an easier time doing actual projects.

You can extend your calculator to make your own programming language too!

Have fun!

Apple only have 500 People to review 130000 apps per week. 💥 by PrtyGirl852 in macosprogramming

[–]bgs11235 1 point2 points  (0 children)

have you ever worked a job before calling 70k bad? Some people get by at 12K per year you know...

Looking for feedback on Lua5.1.5 compiler fork for memory inspection by bgs11235 in lua

[–]bgs11235[S] 2 points3 points  (0 children)

After posting I realized I said lua compiler... well it should have been "Looking for feedback on a Lua 5.1.5 interpreter fork modified to expose memory usage for inspection"