LLVM's instructions aren't "typesafe", they specify explicit types. There's a difference. LLVM isn't doing any type checking. It assumes the front end did all that and issued any type errors during parsing. Type safety is a function of the front end, not the back end.
"Inside" is not the same as "at". You can't store a value "inside" a pointer, you store a value at a pointer (at the location where the pointer is pointing.) Same with load. You can't load a value from "inside" a pointer. You load from (the location at) a pointer.
if what you are doing is parsing your code file to convert it to llvm ir so that it can compile it, why not just parse the file and convert it to c++ and compile that?
Nice to see blocks from small talk still being used
Thank you for best explanation.
LLVM's instructions aren't "typesafe", they specify explicit types. There's a difference. LLVM isn't doing any type checking. It assumes the front end did all that and issued any type errors during parsing. Type safety is a function of the front end, not the back end.
Most LLVM instructions are in fact type-safe and LLVM can in fact do type checking and other verifications.
28:19 "This is my Israel" OMEGALUL
keep up with more videos!!!!
"Inside" is not the same as "at". You can't store a value "inside" a pointer, you store a value at a pointer (at the location where the pointer is pointing.) Same with load. You can't load a value from "inside" a pointer. You load from (the location at) a pointer.
Why did you pass -03 in the clang emit llvm command again??
O3 is for optimization
Thank you very much for such a great. Can you put a link to sources on git?
github.com/olenhad/tisp Here you go :)
Can you please share the code?
Thanks! From Malaysia ;) I like the Singapore accent
so just GCC is the real compiler ?
if what you are doing is parsing your code file to convert it to llvm ir so that it can compile it, why not just parse the file and convert it to c++ and compile that?
Dosluke idk Features that C++ doesn't have?
gasquakee examples?
Have you heard of a match statement in some languages? It's like a better switch statement.
gasquakee never actually lol
Well, that's just one of the examples. Also you might want to do something that translating to C++ would just be more work.
Can we really make compiler by following this video?
I have no idea why he is explaining the IR code.
We don't even need to see that.
Nice talk! cheers, from Israel ;)
Great!
15:32 Rap God
Jesus dude cool it with all the sexual comments, this frat house boy's club atmosphere is cringy
Vague explanation, crappy jokes, indian accent... incredible combo if you are looking to spend 58:44 mins of your life without learning anything.