Random Chitchat 2017 - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html) +--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html) +--- Thread: Random Chitchat 2017 (/thread-2727.html) |
RE: Random Chitchat 2017 - ShadowCone - 05-05-2017 I've been recently into c++, had my first segfault a few days ago. What I still don't get, why can't things not be thread safe automagically? Can't we just assume it's thread safe? I mean, if I have a pointer in both threads, why can't I just use it in both or at least read only. Damn. RE: Random Chitchat 2017 - worktycho - 05-05-2017 Because the CPUs aren't clever enough to make things thread safe automagically. The only languages which provide automagic thread safety do so at the cost of significant overhead, speciallism, or a lot of careful language design from the start. You can use data from multiple threads if all threads use it read-only, but I don't think we do that anywhere in the code at the moment. RE: Random Chitchat 2017 - Seadragon91 - 05-05-2017 There is a new language named Rust and it has very nice features:
RE: Random Chitchat 2017 - NiLSPACE - 05-05-2017 I've been following Rust for a while as it's the language used in Servo, Mozilla's experimental browser engine, but I'll have to play with it some longer to get used to the syntax. RE: Random Chitchat 2017 - Seadragon91 - 05-05-2017 There is also a unix-like os written in rust https://www.redox-os.org/ RE: Random Chitchat 2017 - NiLSPACE - 05-05-2017 Yeah I know, I have it as a VM on my laptop RE: Random Chitchat 2017 - xoft - 05-09-2017 From OpenHub.net: Over the past twelve months, 40 developers contributed new code to Cuberite. This is one of the largest open-source teams in the world, and is in the top 2% of all project teams on Open Hub. ( https://www.openhub.net/p/cuberite/factoids ) :D RE: Random Chitchat 2017 - NiLSPACE - 05-09-2017 Awesome RE: Random Chitchat 2017 - Seadragon91 - 05-10-2017 Nice idea from google hy: https://security.googleblog.com/2017/05/oss-fuzz-five-months-later-and.html RE: Random Chitchat 2017 - Seadragon91 - 05-10-2017 @xoft Currently we have entities and for example the pickup entity that inherits from it. Couldn't we do the same with mobs, too? |