BinaryByter
are you that inconfident in him?
BinaryByter
😂
__getitem__
Hi, I was watching resume of come computer science undergraduates, where I came to know that some of them built their own compiler as a project . I wonder what knowledge is required to do so and are therse things taught in colleges or do we need to do some additional course . . . . .
Wim
__getitem__
Wow. . .
That was a high level answer . Couldn't understand anything .. . 😂😂
P.S. I started coding just a year ago...
Wim
Maybe you want to look into goldparser then
Wim
That makes it quite easy
__getitem__
Sure. Will figure out about it . Any references that you want to suggest ?
Wim
http://www.goldparser.org/ this guy did this as a school project but it turned out in a very simple way for parsing which is even simpler than yacc etc.
Wim
You would get better results though if you'd parse manually but something like this sets the bar quite low to get your own language off the ground
Wim
Instead you might like crenshaws series?
__getitem__
Seriously I have no knowledge about these, but it sounds interesting.
Wim
Its not that hard to parse/interprete a language really
__getitem__
Let's see that . . . 😃
Wim
You might like https://compilers.iecc.com/crenshaw/ too; that goes more into hand-writing but he uses pascal and motd/mos code generation in his series; you'll quickly see though how easy it could be to "hand-parse" instead
Anonymous
Hello everyone
Dima
lol cs students
Dima
welcome
Anonymous
Anonymous
Natnael
Anonymous
Anonymous
Anonymous
† n06h
Hey guy's
I justed started to learn C language any material you have share with me
Dima
www.google.com
† n06h
Dima
still the actual one tho.
† n06h
You fr?
† n06h
Are*
† n06h
Alright
† n06h
Let me visit Google
Anonymous
Hey guys and admin please can anybody help me in data file handling in c++
Mihail
😂Dry Joke
why do you think it is a joke? because it isn't
Mihail
learning to google is essential
Anonymous
@Gaboooo0000 hi
Anonymous
@Drazzy hi
Wim
Hello James
BinaryByter
why should he?
Prometheus
Wim
I'm fine, what about you?
Anonymous
Wim
Convenience
Does convenience for the programmer add up to people being required to install complete frameworks and buckedloads of libraries because one or two functions might be used out of them because it saved the programmer a few minutes of time from writing it him self?
Prometheus
Wim
So because its cheap, or its "cool" that a program is big, thats valid reasons why not to implement things your self and just always rely on external libraries? You know, it doesn't only require storage, right?
BinaryByter
Slack is whining in the corner, while being scolded for its use of 1.5 gb of ram
MᏫᎻᎯᎷᎷᎬᎠ
.
Wim
Dima
meh, using external libs
Dima
> author has indian name
Francisco
Francisco
That doesn't work if its just some fanbase trying to kiss his/her arse
Many big companies have really good libraries. For example, gtest and google-benchmark by google are some freaking good libraries. The fmt library is also really good and simple to use. Boost has a lot of cool libraries that are well optimized. I could go on even longer, but I think you have enough examples
Dima
Dima
lol boost, I will never use boost 😕
Dima
and yeah, protobuf, cool stuff
Francisco
Plus the standard commitee takes many ideas from Boost to add to C++
Wim
I won't claim there aren't usable libraries, though that doesn't mean you as a programmer should just blindly rely on anything you can find and screw up all of your users in the process just to be able to be lazy and just cut and paste instead of write serious code
Francisco
Nikolas
using libraries != "cut and paste"
Nikolas
seriously
Wim
I think 99% of all libraries on any system I've seen plain out SUCK
Wim
They are the show-off of how NOT to do it
BinaryByter
Francisco
BinaryByter
its my favorite efficiency showoff
Wim
Yes good libraries could ease up a lot and would even save a lot of storage and stuff as well
Wim
But people don't even know how the heck they should write efficient libraries; if I take it from you, you'd include a dozen of others in yours instead making it a pile of bloat on top of each other with weird untrackable bugs
Wim
Nikolas
Francisco
Wim
Really? You sounded that short?