Carbon Lang First Look & Crash Course | Google's C++ Successor

  Рет қаралды 108,713

Traversy Media

Traversy Media

Күн бұрын

Пікірлер: 213
@tbn4lyfe
@tbn4lyfe 2 жыл бұрын
I watched this video 10 times and now have the required 10 years of Carbon experience for my unpaid internship. Thanks Brad!
@johnsmithsu310
@johnsmithsu310 2 жыл бұрын
Men approved 👍
@redcrafterlppa303
@redcrafterlppa303 2 жыл бұрын
Hey I wanted to make the years experience joke 🤣
@0xN1nja
@0xN1nja Жыл бұрын
W
@chriswinslow
@chriswinslow 2 жыл бұрын
I was pleasantly surprised that you have already covered carbon in such depth. I will be following Carbons development and adaptation very closely. Thank you for providing yet another great course for all to watch for free.
@theophilus494
@theophilus494 2 жыл бұрын
The fact you picked up this to teach us .. I'm grateful...
@dabunnisher29
@dabunnisher29 2 жыл бұрын
It's great to see you again Brad. You are always one of my favorites. Thanks for all that you do.
@corewwwi
@corewwwi 2 жыл бұрын
i wasn't expecting a tutorial about this language anytime soon... i liked it!
@Elite7555
@Elite7555 2 жыл бұрын
I have always thought D to be the unofficial C++ successor. But after years of using D, I have to admit that D feels like a second broken C++. So I am really excited how Carbon goes.
@peramoredellanalisi4341
@peramoredellanalisi4341 2 жыл бұрын
There will not be a C++, am sorry to disappoint you. If you want to learn a programming language different from C++, of course you're welcome. Forget about successor, just code in the language you like and don't spend unnecessary time talking about impossible things. C++ will not disappear, don't worry. I personally go for C++ and will not spend 1 minute of my time learning this kind of language. It's a matter of having different interests.
@carlbrenner7078
@carlbrenner7078 2 жыл бұрын
@@peramoredellanalisi4341 Okay, but who asked you? It's so irritating that every time a new language pops up, or even just some kind of a new concept, overconfident foretellers show up en mass to tell everyone how shit that new thing is and there's only one truity, the one that they are already familiar with. You guys are boring.
@peramoredellanalisi4341
@peramoredellanalisi4341 2 жыл бұрын
​@@carlbrenner7078 Hey Genius, first of all, your comment is trivial because i can apply it the way round: every time that a new language pops up, overconfident creators and haters of well-established programming languages show up and spam their videos to tell everyone how better is the new thing there's only one "truiity" (the new of course). How does it sound? Second, i don't disagree at all with novelty! The point is NOT novelty. The point is the wrong propaganda around the new entries, which are brought out as the only possible choice that will replace that annoying old language.That's MISINFORMATION! That's disseminating false ideas. Because though the new languages bring new aspects of novelty, you cannot impose that the ENTIRE world based, for instance, on C++ can be totally replaced by one new language. For example, who uses C++ for games and scientific computing, do you think they have desire to step on a new esotheric language?? Why??? That language might meet specific needs that have not been met by other languages, which is fine. But replacing entirely is a pure dream. At least do avoid misinformation. Stroustrup says that C++ will be on the edge for up to 2 decades.
@Elite7555
@Elite7555 2 жыл бұрын
@@peramoredellanalisi4341, what are you talking about 🤣?
@lane1313
@lane1313 2 жыл бұрын
What about D do you find it has failed at? I'm just beginning to learn D and after a year of learning C++ it seems D offers so much more improvements and conveniences.
@JuniorBloxHD
@JuniorBloxHD 2 жыл бұрын
31:01 `var` makes the parameter mutable, instead of immutable by default.
@muonx9649
@muonx9649 2 жыл бұрын
kudos!
@provokator-provocateur7603
@provokator-provocateur7603 2 жыл бұрын
You are very fast. Carbon is a new and fresh thing right now and you already did crash course.
@philmarsh7723
@philmarsh7723 2 жыл бұрын
This is the right way to design new programming languages. Interoperability with the incumbents is absolutely necessary.
@JaskoonerSingh
@JaskoonerSingh 2 жыл бұрын
It would have been cool if you showed Carbon interoperability with CPP. That is the killer reason for this language. In the same way Kotlin can use Java.
@Br4dButt0wski
@Br4dButt0wski 2 жыл бұрын
Check Nim or Zig if you want modern languages with great C-Cpp interoperability bro.
@JaskoonerSingh
@JaskoonerSingh 2 жыл бұрын
@@Br4dButt0wski ok
@JaskoonerSingh
@JaskoonerSingh 2 жыл бұрын
@@Br4dButt0wski these languages are like rust, where the interoperability is through the c language, not CPP.
@clarinetmaster5990
@clarinetmaster5990 2 жыл бұрын
The interop hasn’t been implemented in the explorer interpreter iirc.
@tekhiun
@tekhiun 2 жыл бұрын
Funny thing is that Kotlin Native also has interop with Cpp , but for reason it didn't took off.
@thedevnoteyt
@thedevnoteyt 2 жыл бұрын
Thanks Brad, you're awesome ❤️🔥
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
your username lol, it is the git command :)
@PlasmaSnake369
@PlasmaSnake369 2 жыл бұрын
New languages that google came out with have actually seen growth and use cases like dart/flutter and go. So might be useful to learn relatively early on.
@vanshajdhar9223
@vanshajdhar9223 2 жыл бұрын
@@20cmusic 🤣🤣🤣🤣, seriously???
@PlasmaSnake369
@PlasmaSnake369 2 жыл бұрын
@@20cmusic yeah it's definitely a small segment of the overall industry but there are some businesses who use it
@emisosa
@emisosa 2 жыл бұрын
Dart and flutter are the most horrible languages I've seen. Go is nice. For simple prototyping. But this is one of the first ones that are not interpreted languages.
@alexripoll2893
@alexripoll2893 2 жыл бұрын
@@20cmusic Go is being used by many new companies or companies that are refactoring their legacy code. Its use is actually growing quite fast
@s-guytech9160
@s-guytech9160 2 жыл бұрын
@@emisosa You seriously have no idea what you are talking about.😂😂, Im sure you are a python fan boy.
@InarusLynx
@InarusLynx 10 ай бұрын
Ah takes me back to junior year at college. I took C++ because I liked my first year C class. I liked C++ so much, I used the internet to learn python. Then I wanted to make a Windows app so I learned C#. Then web dev with JavaScript. Now here I am because I heard about Carbon. Full circle. What a ride it's been.
@Br4dButt0wski
@Br4dButt0wski 2 жыл бұрын
No need for Carbon, go check Nim and Zig guys. Both have great interoperability with C and C++, both are really fast, both have the "issues" of C and C++. And you will have a lot of fun using them.
@coolmn786
@coolmn786 2 жыл бұрын
I see potential on this, gonna make a few stuff on this
@michaelshort2388
@michaelshort2388 2 жыл бұрын
to get code highlighting working, change the file extension to ".carb" it still compiles fine but you get code highlighting. :)
@georgereasonproductions
@georgereasonproductions 2 жыл бұрын
enjoyed this very much indeed keep up the good work:)
@Sadleafsfan
@Sadleafsfan 2 жыл бұрын
I can already see the job postings requiring 10 years of Carbon Lang experience
@codedbyshoe
@codedbyshoe 2 жыл бұрын
If this goes the way that other google languages have gone this will most likely have a great future
@SaeedAhmed-wl7pb
@SaeedAhmed-wl7pb Жыл бұрын
Thanks a lot for this great video man !
@ltc0060
@ltc0060 2 жыл бұрын
Carbon seems like what you get if you tried to get cool features of other languages, then mix and mash them together.
@ivanhale8114
@ivanhale8114 2 жыл бұрын
The extension works if you use .carb as the file extension. It still runs, too
@Alexithymiander
@Alexithymiander 2 жыл бұрын
Sounds like Carbon isn't actually a new language, but rather an exoskeleton that reinforces proper movement with increased strength.
@sumitkumarsoni1
@sumitkumarsoni1 2 жыл бұрын
Brad It was a Joke!!! But seriously, You are great, Learnt so much from you and Love your videos ❤
@cd-stephen
@cd-stephen 2 жыл бұрын
I appreciate you and your channel
@jaimedpcaus1
@jaimedpcaus1 2 жыл бұрын
Great video 👍. So, if this is an experimental Lang. When or how is one to know that it's not experimental any longer?
@carlosmspk
@carlosmspk 2 жыл бұрын
They'll likely tag the relase on GitHub as such, followed by numerous blogposts and news mentioning the fact...
@jaimedpcaus1
@jaimedpcaus1 2 жыл бұрын
@@carlosmspk Ah. Thx Capuccino.
@larrytron1992
@larrytron1992 2 жыл бұрын
I've been looking into it for the last few days, it looks promising but still has a long way to go I'm interested to see how they will extend it if they're going to be a "C++ killer/successor"
@comichacker
@comichacker 2 жыл бұрын
Please elaborate.
@V1kToo
@V1kToo 2 жыл бұрын
really well covered
@novailoveyou
@novailoveyou 2 жыл бұрын
Brad you're the best!
@jamesbond_007
@jamesbond_007 2 жыл бұрын
Some of the tests DO show the use of relational operators, and they are not marked as failing tests. Still wondering about where that for loop is. I guess if you're coming from C++, all the wordiness of the syntax isn't so bad, but compared with other modern language, the syntax of Carbon leaves a lot to be desired.
@carlosmspk
@carlosmspk 2 жыл бұрын
I didn't follow, what was the problem with Carbon's "wordiness"? Compared to other statically typed languages, of course...
@deejaydev
@deejaydev 2 жыл бұрын
C++ is never gonna die
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
It is the OG language :)
@fantasypvp
@fantasypvp 2 жыл бұрын
Just from the first 5 minutes of the video, I can see that carbon seems like it took a fair bit of inspiration from rust...
@glumboi9946
@glumboi9946 2 жыл бұрын
How do u set this up in windows if its even possible?
@DanielNistrean
@DanielNistrean 2 жыл бұрын
In the beginning I throught that Carbon is trying to adopt Typescript syntax for C++, but it's not, there are differences so this language has no value to me personally.
@AkashdeepSingh-qq5fw
@AkashdeepSingh-qq5fw 2 жыл бұрын
12:04 could it be because your file is test.carbon and not test.carb?
@skyheart9245
@skyheart9245 2 жыл бұрын
These languages are not solving any important issues. C, C++, Java(including all java technologies) and JavaScript they were targeting issues that led to evolution. It was critical to learn and use.
@TheLoLStarsChannel
@TheLoLStarsChannel 2 жыл бұрын
If these iterative/evolutionary languages are not solving any important issues, then why are so many programmers choosing them? What problems does Typescript address relative to Javascript? Are memory safety and type safety unimportant issues from a technical and even business perspective?
@skyheart9245
@skyheart9245 2 жыл бұрын
@@TheLoLStarsChannel There aren’t so many choosing them. Look at top 5! TypeScript is “evolutionary” in your mind? 😂 TypeScript is JavaScript btw. JavaScript had to be there because there had to be a script on html so people HAD to learn it. That’s evolution. Same thing to other languages I mentioned. What you are talking about is minor changes. Kotlin came with some interesting features now Java filled the gap so no point choosing it anymore. Plus no language can replace C/C++ in its domain. Millions of people know it and have lots of experience with it and there is a huge ecosystem of libraries and software around it if you don’t know something there are array of options to find your answers, as a business you won’t risk picking a new language just because it’s easier to do something minor. No problem with new ideas but I’ve seen hundreds of languages within last 12 years none could become popular.
@TheLoLStarsChannel
@TheLoLStarsChannel 2 жыл бұрын
@@skyheart9245 I don't think you understand what the word evolution means. Perhaps you're confusing with revolution/revolutionary? Where do Rust, Go, and Swift fall into this?
@skyheart9245
@skyheart9245 2 жыл бұрын
@@TheLoLStarsChannel Good for you that understand it. I’m not here to play with words like you. None of these languages are popular, doesn’t mean no body is using it. Doesn’t mean these are technically bad languages. Swift is only for apple devices, Its not general purposed language. Rust is good but again good language doesn’t mean it will get popular, it’s not essential to learn, because you can do the same with many other languages. PHP is another example, it’s a terrible language but super popular, because it arrived right time and because of that many people started using it. Huge ecosystem around php. There are many languages in the same league as php but could not survive. Good luck
@TheLoLStarsChannel
@TheLoLStarsChannel 2 жыл бұрын
@@skyheart9245 thanks. Good luck to you too friend 🙂
@huydong3292
@huydong3292 2 жыл бұрын
Thank you.
@adamjones7497
@adamjones7497 2 жыл бұрын
Pascal case is when you use camel case with the starting character as uppercase.
@alex_chugaev
@alex_chugaev 2 жыл бұрын
I wish typescript could’ve been compiled for production use.
@sourandbitter3062
@sourandbitter3062 2 жыл бұрын
What, why?
@alex_chugaev
@alex_chugaev 2 жыл бұрын
@@sourandbitter3062 it has powerful types system, maybe the best among all PLs, but still does not have its own runtime/compiler. Ideally it should support 2 modes: compiled (for max performance) and interpreted (for development convenience). When you’re ready to release you just compile it and get the binary file just like C# for example.
@marvinabarquez8915
@marvinabarquez8915 2 жыл бұрын
Will they be monitoring this too? Like, will they be taking snippets of code and clone the code if they determine that the code a dev makes is worthwhile?
@funnynews341
@funnynews341 2 жыл бұрын
i love this channel so much. I learn from them so much. But why they don't make Carsh Course about Rust like backend API with actix and deploy in production
@khudadatbaluch7884
@khudadatbaluch7884 2 жыл бұрын
thanks, a good one.
@stiflenthegamer4447
@stiflenthegamer4447 2 жыл бұрын
Heyo, I'm a bit new to this, so forgive me if I seem ignorant; I'm trying to get Carbon set up with Homebrew on my Windows machine, I'm using WSL for that, however when I try to install the required packages with Homebrew, it pauses my installation indefinitely, if I try to go to the URL it's downloading from, I get the error code "UNAUTHORIZED" and the message "authentication required", I'm completely stumped as for what I should do, so any help would be greatly appreciated!
@GlobalYoung7
@GlobalYoung7 2 жыл бұрын
Thank you 😊
@jaideepshekhar4621
@jaideepshekhar4621 2 жыл бұрын
I don't see how this is cleaner. 1) Why the weird *_var x: f32_* syntax? What is wrong with *_f32 x_* and how is the above cleaner than the below? 2) Why the fn declarator for functions? What does it achieve? 3) Why the weird *_fn add_nums(...) -> f32 { ... }_*? What is wrong with *_f32 add_nums(...) { ... }_*? 4) Why the *_Slice (Circle)_* in function argument and not in *_for_* loop? That seems inconsistent to me. 5) Why the FUCK would you have the *_Print_* function capitalised? That is seriously weird. Unless it is a class, which is even weirder. Edit: It appears it is a convention to uppercase function names. WHY? Edit 2: Because they are supposed to be static. And dynamic names like variables are supposed to be lower_case. Can't agree with that. 6) WHY do you have to use string placeholders like *_Print("{0}", x)_* when you already have *_std::cout
@theophilus494
@theophilus494 2 жыл бұрын
Now I'm confused with the question 😂
@lack_of_awareness
@lack_of_awareness 2 жыл бұрын
They want to be more like rust. C++‘s current syntax is so dogshit they copying rust
@DotcomL
@DotcomL 2 жыл бұрын
For some of the questions, the answer is that it's better for the grammar to be unambiguous. Forward declaring what you're doing with var, let, fn, etc helps on that. std::cout ... Many reasons, but read up on std::format and its advantages.
@DotcomL
@DotcomL 2 жыл бұрын
Curious about const vs let though, haven't found the reasoning for that yet
@0file0
@0file0 2 жыл бұрын
The highlighting works but the file ending has to be .carb instead of .carbon in vscode.
@JuniorBloxHD
@JuniorBloxHD 2 жыл бұрын
You can also go to settings and add an association for "*.carbon" to "carbon".
@enfieldli9296
@enfieldli9296 2 жыл бұрын
Heard enough of those 10X years experince with Carbon in hiring memes, let's learn some real solid stuff!
@ctkqiang
@ctkqiang 2 жыл бұрын
What about V Lang?
@hrudayd4217
@hrudayd4217 2 жыл бұрын
Hello @traversymedia Can you please create the videos for SAP UI5? In youtube also no much videos on this framework, Thanks in advance
@chrisik100
@chrisik100 2 жыл бұрын
Why "to kill" C++ or some other PL at all?
@RohanSaluja-xj8ly
@RohanSaluja-xj8ly Жыл бұрын
Hi, I'm on macOS High Sierra and I'm having a hard time setting up the environment. Homebrew doesn't support High Sierra anymore but we can still somehow use it. I tried installing llvm using macPorts, it kinda installed but then I tried using "brew install llvm". All the related dependencies were installed successfully, yet I'm unable to use "llvm-config". And this "bazel run //explorer -- ./test.carbon" does not build successfully. Reflecting error -> llvm-ar not found in PATH or adjacent to clang
@gabrielmachado5708
@gabrielmachado5708 2 жыл бұрын
well, if it's just that, why not just supporting zig?
@dhawalparmar7117
@dhawalparmar7117 2 жыл бұрын
Hey Traversy media can you make video on spring boot
@TheMR-777
@TheMR-777 2 жыл бұрын
17:04 That happens all the time, while working in online editor
@TheMR-777
@TheMR-777 2 жыл бұрын
@WhatsApp±1217𝟽𝟻𝟶𝟹𝟹33 Traversy Med 😅
@zulfiqar7967
@zulfiqar7967 2 жыл бұрын
Any idea about doing web 3.0 tutorials and crash course
@awuk3468
@awuk3468 2 жыл бұрын
I think there is a reason why C/C++ has stuck around for so long, one of the reasons in my opinion is it doesn't need replacing. Maybe it would be better calling it a alternative rather than a "successor" to C++, if it had GUI capabilities (Does it?) it might be a good alternative to C++ but I think .NET Core has that covered with .NET MAUI not sure how good / bad it is, or even if it has been released to the wild yet. Although as most things seem to be web orientated I favour the likes of Electron for GUI projects these days.
@AXYGaming
@AXYGaming 2 жыл бұрын
You can write gui applications in C and C++ with gtk, qt and imgui. Those would be a better choice than maui and electron in certain cases where performance is vital, like when doing graphics. And they call it a successor because it has interoperability with cpp which alot of other languages also have but it's very annoying to do since cpp mangles function names.
@capslock3250
@capslock3250 7 ай бұрын
Much better then Rust. I love C-style languages.
@dunai2012
@dunai2012 2 жыл бұрын
Isn't D the C/C++ successor?
@olaokunade677
@olaokunade677 2 жыл бұрын
Thank you
@broccoloodle
@broccoloodle 2 жыл бұрын
Thank you for the great summary. Looks like carbon is no thing more than a syntactic sugar language. No more no less, the design choice is even worst than other languages
@mohammadmahdifarnia5358
@mohammadmahdifarnia5358 2 жыл бұрын
I’m not that excited about this language like others because i like C++ for its different syntax. If you wanna print to stdout you should use
@skatemaster33
@skatemaster33 2 жыл бұрын
The syntax actually looks like a soup of all the different languages combined and doesn't look consistent at all
@shreeyashghatpande
@shreeyashghatpande 2 жыл бұрын
vsc now has Carbon so yay
@BobDoe_69
@BobDoe_69 2 жыл бұрын
oh no, time to update my cv with "5+ years working with Carbon"
@taiwoadebola5617
@taiwoadebola5617 2 жыл бұрын
Brad how do you learn so quickly?
@teckyify
@teckyify 2 жыл бұрын
Whoever thinks the reason why people don't migrate to other languages or newer languages because they don't want change has absolutely zero clue about what C++ users actually have to deal with or the reasons they use C++
@Robert-zc8hr
@Robert-zc8hr 2 жыл бұрын
Meh, I'm not liking the language very much: - Do we have null safety? I'm assuming we don't. - Why do we need to put auto if we're doing duck typing anyway? If you want to copy TypeScript syntax do so properly. - Why the heck do language designers insist in making functions start with an uppercase letter and variables lowerscase? Functions calls can easily be distingished by the (), and when they're being passed around they are just like another variable so they shouldn't use a diferent naming convention. - Touching on naming conventions, why the heck have we inherited inconsistencies from C? If types are supposed to be PascalCase then i32 should be I32. - Touching on inheritance, I don't see it. I mean, is not in the video, does the language support it and how? Is it intentional to not support it? - What about function overloads? - Why a "dot" on the key of an object literal? Unless they have a very solid reason to go against a JSON compatible syntax, they should just use that. - How do we do varargs, spread operator? - What about testing and documentation? - Can we for once agree on a style instead of using linter tools?
@maidkid
@maidkid 2 жыл бұрын
17:04 he press Ctrl+S by muscle memory lol
@motaz_ahmed
@motaz_ahmed Жыл бұрын
There is new think about it?
@sugy9310
@sugy9310 2 жыл бұрын
Well now i have to get 10 years experience on this
@eddycizeron2533
@eddycizeron2533 2 жыл бұрын
What's the point in creating a course for Carbon intended for newcomers in programming? The main audience of this language is (according to its authors) teams that already have huge codebases in C++. The goal is to help them migrate smoothly to a cleaner language. Whether you believe Carbon can achieve this or not, it still means that the intended audience are C++ developers. As a consequence, a valuable presentation should try to expose similarities and differences with C++ (and possibly other languages). In case of differences I would also expect some explanations about what motivated these changes. Of course the creator of this video cannot read in Carbon's author's minds but any guess or suggestions (with all the necessary caveats) would be far more valuable that this sequence of trivialities that focuses on (part of) the syntax and does not even address the motivation behind it.
@stiflenthegamer4447
@stiflenthegamer4447 2 жыл бұрын
Well even if the targeted demographic is veteran users of C++, I still believe there should be resources such as this specifically for newcomers. I personally have tried learning C++, but never really got around to it, now with Carbon being in the works, I decided I would give it a go instead, so I can atleast say I greatly appreciate videos like this.
@DoonSafari
@DoonSafari 2 жыл бұрын
Hi is there a way to send push notifications to 2000+ users with in 2 milli seconds using laravel and react native. Please help me with this or any system design for this module. Thanks
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
You probably need an api for that
@davidg4512
@davidg4512 2 жыл бұрын
Tomorrows job post: 5 years of Carbon
@papa_ethan
@papa_ethan 2 жыл бұрын
If Carbon can do Web Assembly then great.
@robypsx
@robypsx Жыл бұрын
waiting for the 50 year Carbon experience jobs when Google decides to drop the v0.1
@abhikbanerjee3719
@abhikbanerjee3719 2 жыл бұрын
Offé. That's 6G speed right there.
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
Carbon Fiber internet 😄
@nvmcomrade
@nvmcomrade 2 жыл бұрын
I hate these hyper abbreviated keywords - fn for function and also primitive types i32 u16 etc.
@alisherdotdev
@alisherdotdev 2 жыл бұрын
Make new Rust Crash Course please
@alisherdotdev
@alisherdotdev 2 жыл бұрын
@♜ Pinned by Traversy Media Okay
@sidforreal
@sidforreal 2 жыл бұрын
Hiring Carbon Developers : Min experience 2 year
@Meritumas
@Meritumas 2 жыл бұрын
2y for junior, min 7 for seniors....
@tipseason
@tipseason 2 жыл бұрын
Carbon language has certainly a refreshing syntax compared to C++. The more you try hands on with it, the more you appreciate the beauty of it. Do you think carbon language will replace C++ ?
@wizardy6267
@wizardy6267 2 жыл бұрын
As a firmware developer using c++, kotlin, JS reactnative and python, I can see why Carbon is NOT going to replace c++... it is boring
@DMSBrian24
@DMSBrian24 2 жыл бұрын
Why use this when Rust exists? It's best not to have corporations in control
@KejriwalBhakt
@KejriwalBhakt 2 жыл бұрын
Just a question, why can't the tech giants comes up with syntax like Python and be as fast as CPP? Just curious. What are the bottlenecks? Last I learnt, the thing that makes python slow is duck typing. Make it statistically typed. By now Python has best syntax and readibility. Go comes close second and then JAVA and Javascript. I hate CPP and don't ask why.
@keelanmccarthy5291
@keelanmccarthy5291 2 жыл бұрын
It's because python is compiled into bytecode that is read by a virtual machine. Python is compiled at runtime... Every language eventually turns into machine code to tell the CPU what to do, Python is not as fast because of a combination of, virtual machine, compiled at runtime and the fact that the less descriptive code is to do compiler, the less efficient the compiler will be at finding the fastest bytecode/machine code to run that program. With python, you trade the speed of the actual program with development time.
@Robert-zc8hr
@Robert-zc8hr 2 жыл бұрын
@@keelanmccarthy5291 The question was "why can't the tech giants comes up with syntax like Python and be as fast as CPP? ", you completely missed the point. There is no reason why you can't make a compiled version of Python (e.g. Numba or Cython). Or create a new fast programming language with a syntax similar to python. The issue is that big tech wants to make something familiar, thus following current popularity trends. Although Python is popular in the scientific community, it has almost no market share when it comes to general/systems programming, in that space C++/C#/Java/TypeScript/Rust all use a C-like syntax and combined have almost all market share.
@QueeeeenZ
@QueeeeenZ 2 жыл бұрын
Companies be like "We are looking for a Carbon developer with 10 years of experience"
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
And its been out for just 2 years lol
@legrandtiasma
@legrandtiasma 2 жыл бұрын
@@Arabian_Abomination weeks*
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
@@legrandtiasma even less haha
@n.m4497
@n.m4497 2 жыл бұрын
Kinda of ridiculous to do an arrow to specify the type return of a function. Why not put it at the begging
@edwardkenworthy7013
@edwardkenworthy7013 2 жыл бұрын
That example code at around 1 minute is such a mess.
@akj7
@akj7 2 жыл бұрын
4:44 yeah, this guy doesn't know C++. Can you please tell me why this language is better than C++? Rust has clear goals and actually provided new tools to fight what it claimed was wrong. To me Carbon feels like another project made by bored Google devs. There are so many questions that people don't address, like: 1. How does Carbon handle versioning? C and C++ have locked versions enabling the use of old versions for dedicated hardwares. 2. How does it manage multreading when creating one from an embedded C++ code. 3. How does it interop with compiled binaries written in C or C++? 4. What are the costs of using Carbon (RAM, CPU)?
@MrZapper1960
@MrZapper1960 2 жыл бұрын
This better not blow up with the standard lib using the google style guide
@techpriest4787
@techpriest4787 2 жыл бұрын
But if Carbon can not do better C++ interop than Rust. Then it is another Rust. Except that Rust at this point is far ahead of Carbon. In other words: People need to stop viewing Rust as a replacement for C only. I did not replace C. I replaced my C#/F# code. GLSL and HLSL is next.
@MattPryze
@MattPryze 2 жыл бұрын
Yeah seems like more typing to get the same thing.
@Alphabet_-_
@Alphabet_-_ 2 жыл бұрын
Successor ? No...
@Arabian_Abomination
@Arabian_Abomination 2 жыл бұрын
Is this the official account? 😆
@yourfuture1265
@yourfuture1265 2 жыл бұрын
please do a video combining codeigniter and react.js
@pett22v20
@pett22v20 2 жыл бұрын
cool new language, too bad all of the jobs already require 8-10 years experience in carbon
@atticus2581
@atticus2581 2 жыл бұрын
this video is going to get so many views lmfao
@dr.palsonp.h.d815
@dr.palsonp.h.d815 2 жыл бұрын
what a overly verbose languguage... doesn't even have an overloaded Print(), Looks like a JS version of C, will stick to cpp...
@MehmeterTem5534
@MehmeterTem5534 2 жыл бұрын
Generic type about more video pls.
@fredhair
@fredhair 2 жыл бұрын
Another language jumping on the bandwagon providing no real benefits. No reason to use it yet or the forseeable future imo. C++ will not be dying out and I can't see it getting replaced. D has existed as a decent alternative for some time but C++ has seen some pretty good improvements in the last 11 years. What I'd really like to see is better toolchains i.e. decent multiplatform dependency managers and centralized repository support but that's probably never going to happen.
@HyyskanPolttaja
@HyyskanPolttaja 2 жыл бұрын
Do we really need yet another statically typed language littered with semicolons and square brackets?
@linus2730
@linus2730 2 жыл бұрын
Found the python dev
@navjotsingh2251
@navjotsingh2251 2 жыл бұрын
Haha, if you hate this then you are gonna hate lisp/scheme 😅
@benitaisabella1152
@benitaisabella1152 2 жыл бұрын
Mr Theodore Travis is legit and his method works like magic I keep on earning every single week with him new strategy
@cointelegraph7527
@cointelegraph7527 2 жыл бұрын
I lost $1500 carelessly trading on a platform then I was referred to Theodore Travis he recovered the loss and made an extra profit of $3,100
@sergiocourtous5806
@sergiocourtous5806 2 жыл бұрын
My first investment with Mr Theodore gave me profit of over $2,000 and ever since then he has never failed to deliver and I can even say he's the most sincere broker I've ever come across.
@CProgrammingLanguageCodes
@CProgrammingLanguageCodes Жыл бұрын
It is more marketing than a viable language. Carbon, like the previous versions, seems to have been designed by technicians, for technicians and not for programmers, even less for system programmers. Any language that does not use some relevant and aesthetic reserved words does not pass the test of time. No serious programmer would waste his time typing "fn" or scrolling through codes with such unsightly terms.
@rallokkcaz
@rallokkcaz Жыл бұрын
wtf does anything you said mean
@amazekhashaa7309
@amazekhashaa7309 2 жыл бұрын
give me a reason to use carbon
@MiChEaLaDeNuGa-oj6wb
@MiChEaLaDeNuGa-oj6wb Жыл бұрын
c++
Astro Crash Course
1:35:19
Traversy Media
Рет қаралды 159 М.
Mojo - the BLAZINGLY FAST new AI Language? | Prime Reacts
25:18
ThePrimeTime
Рет қаралды 176 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Carbon Language - Final Conclusions (It's Probably Not For You)
25:27
C++ Super Optimization: 1000X Faster
15:33
Dave's Garage
Рет қаралды 333 М.
Object Oriented Programming (OOP) in Python
46:37
Traversy Media
Рет қаралды 284 М.
Val - The Rust Killer | Prime Reacts
16:54
ThePrimeTime
Рет қаралды 98 М.
I Tried JAI, Can It Replace C++?! (Programming Language)
21:05
zig will change programming forever
9:34
Low Level
Рет қаралды 403 М.
What Makes Rust Different?
12:38
No Boilerplate
Рет қаралды 208 М.
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 342 М.
Arenas, strings and Scuffed Templates in C
12:28
VoxelRifts
Рет қаралды 102 М.
Такого Корпуса для ПК нет ни у кого в России
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 847 М.
НЕ ДАМ ЕЁ В ОБИДУ😡 #shorts
0:24
Паша Осадчий
Рет қаралды 1,6 МЛН
Самые простые строительные леса
0:54
Канал ИДЕЙ
Рет қаралды 1 МЛН
пранк🤣😂😂
0:51
Numdexx1
Рет қаралды 1,2 МЛН
Что такое дагестанский кирпичный завод!
0:53
АВТОБРОДЯГИ - ПУТЕШЕСТВИЯ НА МАШИНЕ
Рет қаралды 746 М.
Pixel 7 и 7 Pro с Face ID - лучше iPhone 14 Pro!
21:12
Rozetked
Рет қаралды 457 М.