Tobias Widlund (@therocode) profile picture

Hello! I write interactive applications for a living in Rust, C++ and the like. I'm a fan of wasm/emscripten technologies and toy around with hobby gamedev

Perth, Western Australia
Joined April 2013
Photo by Tobias Widlund (@therocode)Photo by Tobias Widlund (@therocode)Photo by Tobias Widlund (@therocode)Photo by Tobias Widlund (@therocode)Photo by Tobias Widlund (@therocode)Photo by Tobias Widlund (@therocode)Photo by Tobias Widlund (@therocode)
All connection will be cut off tonight 12PM(MST) in order to prevent us reaching to the world. The world needs to know what is happening in Myanmar. Plz spread the news! #ม็อบ1กุมภา #SaveMyanmar #Save_Myanmar #Reject_the_Military #We_need_democracy #Aung_San_Suu_Kyi_government
72
1,917
200
1,811
So excited!!
Quick Noita update. Noita will be out on Early Access some time this decade. Read more here: steamcommunity.com/games/noi…
3
Hi! I'm a new C++ bot that will keep you updated on C++ feature support in the major 3 compilers. I monitor en.cppreference.com/w/cpp/co… for you and post tweets if something changes. This way you can more easily stay up to date with the standard implementation efforts. #cpp #cplusplus
Tobias Widlund retweeted
Turn out I haven’t tweeted in a while, so here’s a tweet! Retweet as much as you want folks! It’s worth it!
Finished writing yet another blog post delving into the future features of C++20, get it while it's hot! Compile time wankers will be happy about this one (AKA people like me) blog.therocode.net/2019/01/e… #cpp #cplusplus #cpp20
1
4
Pro-tip to enhance productivity: Run a local instance of godbolt.org/ to disassemble your local/proprietary code/libs in realtime. I never realised it was so easy: "git clone <repo>" "make". Shout-out to people who made this possible #cpp #cplusplus #godbolt
1
Just finished writing a blog post about the spaceship operator (<=>) coming in C++20! Make sure to read it if you're curious on how it works and how to use it. PS. It lets you get rid of boilerplate code. blog.therocode.net/2018/12/e… #cpp #cplusplus #cplusplus20 #cpp20
5
The US is literally siding with Russia & Saudi Arabia against the entire rest of the world in rejecting the UN report on climate change. Let that sink in. We're siding with Russia & the Saudis against the UN & the world & refusing to acknowlegde or help solve a planetary threat
134
1,077
102
2,192
If anyone is curious on c++20 wrote a bit about one of the upcoming features blog.therocode.net/2018/11/e… #cpp #cpp20 #cplusplus
1
Made a simple C++ helper to inspect what containers are doing to your objects in terms of construction/copy/move/destruction. Useful for example if you want to unit test that your containers are not forgetting to run destructors and leaking github.com/therocode/probe #cpp #cplusplus
1
5
godbolt.org/z/SF9Lu- any C++/compiler gurus out there that has any idea why GCC initialises to zero in this case? It uses -O3 optimisation so i'd expect it to not do any such extra work... #cpp #cplusplus #gcc #clang
1
1
New blog post: blog.therocode.net/2018/10/f… How to make it possible to use range-based for loop so that you get the current index along with the item. #cpp #cplusplus
2
I'm on a C++ madness roll! Made a single-header lib for declaring enums with automatic string conversion, count tracking and more. github.com/therocode/meta_en… Beware as it contains black macro magic and ominous constexpr witchcraft. #cpp #cpp17 #cplusplus #constexpr #macromagic
5
Anyone missing python-style list comprehension in C++? Wrote a small function to allow similar behaviour. :) Not as minimal syntax as in python, but at least similar in functionality! godbolt.org/z/hQZRH7 #cpp #cplusplus #cpp17 #python
1
2
Revived my old landscape generation, now using it as a basis to generate zones for my game thing. #gamedev #indiedev #procgen
1
3
blog.therocode.net/2018/09/c… New blog post showing a method of parsing strings in compile time! :D Be sure to check it out if compile time stuff is something you love, or love to hate upon! #cpp #cplusplus
1
3
TIL google thinks that Chinese people are not of this world
1
5
I've gotten stuck listening to ad lib/soundblaster kind of style old game music lately youtube.com/playlist?list=PL… great stuff
2
Always feels creepy when you are in a language that has garbage collected pointers and you just stuff an *int64 in a struct without having to think about what owns that memory and how it's cleaned up. (coding in go atm)
1
1