Interesting interview where Bjarne elaborates his opinion on modern languages and development of C++. Interesting to know that he actually hates generic programming and its implementation in form of templates. He loves Concepts and hopes to push them into 2023 standard.
Things are developing pretty fast these days. Rust became a mainstream language. Originally developed as a replacement for C++, more on system side, than to be an application oriented language, Rust evolved into a mature ecosystem. Package managers and frameworks have been built and devs started looking at it as a replacement for more generic script languages. You can argue that statically typed language is not a replacement for, say, Python, and you will be right. But Rust still can be a good alternative to Python. Here’s a talk from Owen Synge why you should consider Rust. I found his arguments pretty compelling. One of them is a garbage collector implementation differences. Rust is using reference counting mechanism which does not require a global lock for the collector. In multi-process and threaded environment it’s a big advantage. Rust is indeed more performant.
Good article about current state of WebAssembly with examples and links to resources.
WebAssembly seemed and still seems to be the right way to go. There are exactly two things that still bother me though:
1. Speed of adoption and standard development, which is probably a false negative, because everything in web standards world is going slow.
2. Syntax… why braces again!? I bet committee was infiltrated by Lisp lovers. 😛
Good read on how GC is implemented and optimized in Go run-time. It goes through typical issues with GC at scale and real-time systems.
Sorry for posting another bookmark to the stream. I hope some of these posts are actually useful to others. 😛
Somebody finally did that! Somebody created Office add-on that allows to import source code with highlights and right format. Check it out!
Another useful tool for source code copy/paste if you’re using Sublime Text:
There are even more ideas on how to insert source code into Word, Office, Excel or whatever here:
Some time ago I was able to create bootable Windows 10 installation on external SSD drive. It worked perfectly and I was able to play all Windows only games. However, it all went south when I upgraded my Macbook Pro to new 2017 model… Well. Old USB drivers stopped working, so after boot I could not use either keyboard nor mouse. Apparently there are many step-by-step instructions on how to install Window 8 and 10 on external drive, but many of them are outdated or do not cover my specific problem. Luckily there’s a discussion thread on Apple’s own support forum on how to troubleshoot and fix similar issues.
In my case I had to download new set of drivers from Bootcamp Assistant and install them. Luckily I found external USB keyboard that worked with Macbook! Here’s the thread you may find useful.
Another good tutorial on how to fix drivers issue using a VM (if you can boot your bootcamp in VM):
Most important changes are in containers. They promoted strings to containers finally! A lot of cleanups and improvements.
I found Generic Subscripts a good addition. I’ve tried to use generics in my custom class and ran into the fact that I can’t create a subscript. Now I can.
Check it out!
If your old project fails to compile with XCode with error like
error: There is no SDK with the name or path ‘/path/to/my/project/macosx10.6’
even if you changed target in the XCode Build Settings, then you stumbled upon silly bug in the XCode. It’s just unable to change SDKROOT in your pbxproject file. Edit it manually and remove all SDKROOT lines.