4 ms·
Kind of neat. Why not async and TPL instead of all the manual locking?
by jayd16 6y ago
Kind of neat. Why not async and TPL instead of all the manual locking?
- pjc50 6y agoTPL? It seems to be a "classical" OO model with mutation-from-anywhere. Effectively a database in memory.
- jayd16 6y agoExcuse me for my terseness, Task Parallel Library. https://en.wikipedia.org/wiki/Parallel_Extensions#Task_Parallel_Library https://en.wikipedia.org/wiki/Parallel_Extensions#Task_Paral...
- praeclarum 6y agoThere is tons of TPL (Task Parallel Library, async and await), I was just trying to keep the blog simple. Once you have thread-safe primitives, you can build higher level abstractions on top of those. In fact I worked a bit on the TPL when I worked at Microsoft so I definitely abuse it. :-)
- jayd16 6y agoAh ok. That makes much more sense. From the wording in the blog I got the impression it was being avoided with manual locking.