bamboon

Zürich, Switzerland

Age: 23

I am a Master student in Electrical Engineering and Information Technology.
My main interest is in programming and software development.

Language-wise I love C++ and python. My favorite topics are in the areas of multithreading and networking. Recently, I start to enjoy Erlang an Go. I am a big fan of open-source software, you can find my code repository on Github and my resume here.

Think Big, Stephan

Current projects:

  • twistedcpp : Porting twisted to C++
  • dict : Cache friendly open addressed alternative to std::unordered_map
1d
comment Are Iterators right hand value assignment operations atomic?
No, not if there also no writes to the dereferenced object.
1d
comment Are Iterators right hand value assignment operations atomic?
The rules for iterators are the same as for any other type. Multiple concurrent reads are ok but a concurrent write and read is a race condition/UB.
2d
revised Resize on std::vector does not call move constructor
edited tags
Jan
26
comment What is std::ref useful for in this function?
Interesting, yet another magic feature of std::reference_wrapper. Wondering why Eric Niebler deems it unnecessary then.
Jan
26
comment What is std::ref useful for in this function?
It's unnecessary. twitter.com/ericniebler/status/559798611991879684
Jan
24
revised Overloading function to handle multiple value classes in C++11?
edited tags
Jan
22
comment Is list[i:j] guaranteed to be an empty list if list[j] precedes list[i]?
@MartijnPieters Yeah yeah, no offense. I was just confused and that's why I asked.
Jan
22
comment Is list[i:j] guaranteed to be an empty list if list[j] precedes list[i]?
@MartijnPieters Ah ok, I thought this question was explicitly about list.
Jan
22
comment Is list[i:j] guaranteed to be an empty list if list[j] precedes list[i]?
What do you mean with the italic "for standard Python types"?
Jan
18
comment Is there a method to generate a UUID with go language
What is the library "below"? You should avoid using above and below on SO as that can change quite quickly.
Jan
10
awarded Tumbleweed
Jan
5
awarded Yearling
Jan
5
awarded Yearling
Jan
3
awarded Editor
Jan
3
revised SVMs with some constant and some changing features
sorry, title must have somehow gone lost
Jan
3
asked SVMs with some constant and some changing features
Dec
28
awarded Commentator
Dec
28
comment "On The Road" hat is Americentric
@DonLarynx The German Autobahn is more famous for having no speed limit
Dec
27
comment Possible to write the code once for a specific set of different types?
I don't fully understand your problem but if you want to have a function only for a certain set of types then simple overloading is what you are looking for.
Dec
25
revised std::unique_lock<std::mutex> or std::lock_guard<std::mutex>?
added 4 characters in body
1 2 3 4 5