Personally I think if you were trying to translate an already existing project from C / C++ across to something more memory safe, DLang with memory management might be a better option. With Rust the fundemental design philosophy is different in terms of features (good or bad) such as lack of object inheritance. This means it's not just a straight forward translation, with Rust you'd need to spend a lot of time re-orientating how the code is arranged. This is less of an impact for new projects but has a bigger impact on existing code bases. A language that's more similar to the prior code base / features but has better memory management would probably be a better option such as DLang (or maybe even C#).
During the good old days before the internet, languages were designed typically in isolation inside companies, without any form of input from a global perspective. This is how we ended up with C / C++ in it's current form. Higher level languages such as basic's or Java would have performance hits due to not being as close to the bare metal but would be easier to write. So typically you'd use different languages for a given purpose. C for kernel and drivers, C++ for desktops, Higher languages like Java for desktop apps.
With the internet and github and more time we now have better compilers, so if you google "C# vs C++" for example you'll see a lot of discussion on that topic. With better compilers this narrows the gap between the higher and lower languages. The main advantage though for the higher level ones such as statically typed managed languages is to pick up on bugs before the code is even compiled. So in this day and age it's a much closer trade off depending on what task your actually trying to do.
My own bias is C# for Higher level stuff like backends of websites, and DLang for lower level stuff. Although micropython is also a good option for MCU's. Rust I feel is a little too restrictive on it's feature set
After watching the poor build quanlity on apple mac books I wouldn't go near an iphone https://www.youtube.com/user/r... A lot of the apple stuff comes across more as "look at me I have an apple"
Typically different languages are engineered towards different purposes High level languages are good for quick scripts or GUI Applications Low level languages are good for speed, drivers, getting as close to the bare metal as possible.
That being said It is possible to get both the benifits of a low level language and checking of code by the compiler at the same time. C / C++ was designed a long time ago, long before the internet and before a lot of tools, methodologies and ideas which are now available. The problem is making changes to it now isn't a possibility simply because of old cruft / backwards compatibility. I know quite a few here have suggested Rust, although my favourite is DLang - https://dlang.org/ since it more closely resembles C / C++ They seem to have solved a lot of problems recently associated with the runtime, in that you can now more easily replace it with your own implementation.
Here's a better idea, why not try D / DLang instead? https://dlang.org/ Any valid C or C++ can be used with D
Rust could potentially replace C, but not C++ It's important to note that Rust does not have Object Orientation, it's more of a pragmatically functional language It separates data storage and functions into separate grouped objects but lacks features such as inheritance.
D has inbuilt garbage collection, which can be disabled but is on by default I think one of the issues in the past has been the disabling of garbage collection with it's standard library, since it assumes garbage collection is enabled for that part. Although I heard they were working on fixing that, I'm not sure how far they got with it so far
I think this is largely due to the recent "Ad Apocalypse" where a large number of channels lost they're ad's and funding.
China Uncensored is one example, video's being taken down because some random word that's a part of a video game title is another, then there's all the dmca take downs that are very hard to appeal against.
Say something someone doesn't like and suddenly it's considered "hate speech" The right to free speech also means the right to be offended and that's the problem, a lot of it is subjective. If they can't be trusted to do the right thing before why should they be trusted to do the right thing now?
You realize we're sitting on 45,000 pounds of fuel, one nuclear warhead and a thing that has 270,000 moving parts built by the lowest bidder? Makes you feel good doesn't it?
1. make sure you have the "Pro" version of Windows 10 2. type in "gpedit.msc" into your start menu bar and hit return 3. you should now have a window called "Local Group Policy Editor"
4. drill down into Computer Configuration\Administrative Templates\Windows Components\Windows Update 5. Double click the "Configure Automatic Updates" setting 6. Select "Enabled" to state that you want to specify / override this setting 7. In the bit on the bottom left change this to "2 - Notify for download and notify for install", this should prevent the updates from kicking in without intervention 8. Click Okay and close the policy window
You can now ignore the updates or install them whenever you want I swear to god some people are just so lazy they have to bitch and moan about everything
Personally I think if you were trying to translate an already existing project from C / C++ across to something more memory safe, DLang with memory management might be a better option.
With Rust the fundemental design philosophy is different in terms of features (good or bad) such as lack of object inheritance.
This means it's not just a straight forward translation, with Rust you'd need to spend a lot of time re-orientating how the code is arranged.
This is less of an impact for new projects but has a bigger impact on existing code bases.
A language that's more similar to the prior code base / features but has better memory management would probably be a better option such as DLang (or maybe even C#).
During the good old days before the internet, languages were designed typically in isolation inside companies, without any form of input from a global perspective. This is how we ended up with C / C++ in it's current form.
Higher level languages such as basic's or Java would have performance hits due to not being as close to the bare metal but would be easier to write. So typically you'd use different languages for a given purpose. C for kernel and drivers, C++ for desktops, Higher languages like Java for desktop apps.
With the internet and github and more time we now have better compilers, so if you google "C# vs C++" for example you'll see a lot of discussion on that topic. With better compilers this narrows the gap between the higher and lower languages.
The main advantage though for the higher level ones such as statically typed managed languages is to pick up on bugs before the code is even compiled.
So in this day and age it's a much closer trade off depending on what task your actually trying to do.
My own bias is C# for Higher level stuff like backends of websites, and DLang for lower level stuff.
Although micropython is also a good option for MCU's.
Rust I feel is a little too restrictive on it's feature set
After watching the poor build quanlity on apple mac books I wouldn't go near an iphone
https://www.youtube.com/user/r...
A lot of the apple stuff comes across more as "look at me I have an apple"
Typically different languages are engineered towards different purposes
High level languages are good for quick scripts or GUI Applications
Low level languages are good for speed, drivers, getting as close to the bare metal as possible.
That being said It is possible to get both the benifits of a low level language and checking of code by the compiler at the same time.
C / C++ was designed a long time ago, long before the internet and before a lot of tools, methodologies and ideas which are now available.
The problem is making changes to it now isn't a possibility simply because of old cruft / backwards compatibility.
I know quite a few here have suggested Rust, although my favourite is DLang - https://dlang.org/ since it more closely resembles C / C++
They seem to have solved a lot of problems recently associated with the runtime, in that you can now more easily replace it with your own implementation.
I wonder if the password he was using was "Joshua"
Here's a better idea, why not try D / DLang instead?
https://dlang.org/
Any valid C or C++ can be used with D
Rust could potentially replace C, but not C++
It's important to note that Rust does not have Object Orientation, it's more of a pragmatically functional language
It separates data storage and functions into separate grouped objects
but lacks features such as inheritance.
D has inbuilt garbage collection, which can be disabled but is on by default
I think one of the issues in the past has been the disabling of garbage collection with it's standard library, since it assumes garbage collection is enabled for that part.
Although I heard they were working on fixing that, I'm not sure how far they got with it so far
I think this is largely due to the recent "Ad Apocalypse" where a large number of channels lost they're ad's and funding.
China Uncensored is one example, video's being taken down because some random word that's a part of a video game title is another, then there's all the dmca take downs that are very hard to appeal against.
Say something someone doesn't like and suddenly it's considered "hate speech"
The right to free speech also means the right to be offended and that's the problem, a lot of it is subjective. If they can't be trusted to do the right thing before why should they be trusted to do the right thing now?
You realize we're sitting on 45,000 pounds of fuel, one nuclear warhead and a thing that has 270,000 moving parts built by the lowest bidder? Makes you feel good doesn't it?
One way is to enable "metered connection" on the network connection
http://www.pcadvisor.co.uk/how...
that's probably the simplest way
Another way
https://4sysops.com/archives/d...
dump the following into a .reg file and run it
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000001
1. make sure you have the "Pro" version of Windows 10
2. type in "gpedit.msc" into your start menu bar and hit return
3. you should now have a window called "Local Group Policy Editor"
4. drill down into Computer Configuration\Administrative Templates\Windows Components\Windows Update
5. Double click the "Configure Automatic Updates" setting
6. Select "Enabled" to state that you want to specify / override this setting
7. In the bit on the bottom left change this to "2 - Notify for download and notify for install", this should prevent the updates from kicking in without intervention
8. Click Okay and close the policy window
You can now ignore the updates or install them whenever you want
I swear to god some people are just so lazy they have to bitch and moan about everything