therocode's 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

Tobias Widlund

@therocode

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

Tobias Widlund さんがリポスト

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

GulfWifyMyanmar's tweet image. 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
GulfWifyMyanmar's tweet image. 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
GulfWifyMyanmar's tweet image. 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
GulfWifyMyanmar's tweet image. 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

So excited!!

Quick Noita update. Noita will be out on Early Access some time this decade. Read more here: steamcommunity.com/games/noita/an…



Tobias Widlund さんがリポスト

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/compiler… 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 さんがリポスト

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/explor… #cpp #cplusplus #cpp20


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


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/explor… #cpp #cplusplus #cplusplus20 #cpp20


Tobias Widlund さんがリポスト

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


If anyone is curious on c++20 wrote a bit about one of the upcoming features blog.therocode.net/2018/11/explor… #cpp #cpp20 #cplusplus


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

github.com

GitHub - therocode/probe: C++ type to aid unit testing of memory leaks/moves/copies inside of...

C++ type to aid unit testing of memory leaks/moves/copies inside of containers - therocode/probe


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


New blog post: blog.therocode.net/2018/10/for-ea… How to make it possible to use range-based for loop so that you get the current index along with the item. #cpp #cplusplus

therocode's tweet image. New blog post: blog.therocode.net/2018/10/for-ea…  How to make it possible to use range-based for loop so that you get the current index along with the item. #cpp #cplusplus

Tobias Widlund さんがリポスト

One of the most intense things I've ever written. Definitely a lot to take, likely not for everyone but I'm still glad to have made it, not sure it's the kind of thing I'd ever attempt again: soundcloud.com/shnabubula/god…

Shnabubula2's tweet card. God Plays Dice

soundcloud.com

SoundCloud: The Music You Love

God Plays Dice


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… Beware as it contains black macro magic and ominous constexpr witchcraft. #cpp #cpp17 #cplusplus #constexpr #macromagic

github.com

GitHub - therocode/meta_enum

Contribute to therocode/meta_enum development by creating an account on GitHub.


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


Revived my old landscape generation, now using it as a basis to generate zones for my game thing. #gamedev #indiedev #procgen

therocode's tweet image. Revived my old landscape generation, now using it as a basis to generate zones for my game thing. #gamedev #indiedev #procgen

blog.therocode.net/2018/09/compil… 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


TIL google thinks that Chinese people are not of this world

therocode's tweet image. TIL google thinks that Chinese people are not of this world

I've gotten stuck listening to ad lib/soundblaster kind of style old game music lately youtube.com/playlist?list=… great stuff


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)


United States トレンド

Loading...

Something went wrong.


Something went wrong.