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 . . . . .
__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
Anonymous
Hello everyone
Are you university computer science graduate
Dima
lol cs students
Dima
welcome
Anonymous
welcome
Thanks
Anonymous
Lol How are you doing
Just asking you
Anonymous
Just asking you
How are you doing
† n06h
Hey guy's I justed started to learn C language any material you have share with me
Dima
www.google.com
† n06h
www.google.com
😂Dry Joke
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
Francisco
are you that inconfident in him?
Nope, I think he should use a library instead of reinventing the wheel
BinaryByter
why should he?
Anonymous
Hello James
How are you doing
Prometheus
why should he?
Convenience
Wim
I'm fine, what about you?
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?
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ᏫᎻᎯᎷᎷᎬᎠ
.
Francisco
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?
If I need something for my program, and there's an external library that does it for me, I'll go with it without questions. Implementing it by myself may require a lot of time and debugging, and still not being even close to that already optimized, tested and benchmarked library
Dima
meh, using external libs
Dima
> author has indian name
Wim
That's what stars at GitHub are meant for
That doesn't work if its just some fanbase trying to kiss his/her arse
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
lol boost, I will never use boost 😕
Dima
and yeah, protobuf, cool stuff
Francisco
lol boost, I will never use boost 😕
I think they have many interesting stuff. Some parts are quite outdated, but some others are really cool, like Hana
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
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
Serious code, in fact, rely in good libraries
serious code like, for example, slack?
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
Nikolas
I think 99% of all libraries on any system I've seen plain out SUCK
I honestly think that someone that would use a crappy library without bothering to get some knowledge on whether or not is a good library, would make even a worse job implementing the same things himself
Nikolas
So instead you'd rely on votes on github like Fransisco? Or would you do a decent job researching before using?
you rely on a number of things. Github stars are not the ultimate truth but they do say something
Francisco
So instead you'd rely on votes on github like Fransisco? Or would you do a decent job researching before using?
Github starts are one hint about the quality of a library, but not the only one. C'mon, I'm not that short
Wim
Really? You sounded that short?