Re:Current hardware trends make C++ exceptions harder to jus...
by CyberDildonics on Tuesday February 22, 2022 @02:47PM
(#30432701)
That would turn communicating between threads into communicating between VMs, which is a disastrous change in itself.
[ Parent
| on HN ]
Re:Current hardware trends make C++ exceptions harder to jus...
by gpderetta on Tuesday February 22, 2022 @03:51PM
(#30433572)
It would. On the other hand multiprocessing with explicitly shared memory could be a fast (but potentially painful) workaround.
Re:Current hardware trends make C++ exceptions harder to jus...
by CyberDildonics on Tuesday February 22, 2022 @04:04PM
(#30433758)
That could make sense for processes, which would also get around the exception unwind lock, but I don't know how that would work with every thread moved into a separate VM.
Re:Current hardware trends make C++ exceptions harder to jus...
by gpderetta on Tuesday February 22, 2022 @04:06PM
(#30433797)
Of course. Using VMs here would very deep into overengineering territory.
Re:Current hardware trends make C++ exceptions harder to jus...
by tjungblut on Tuesday February 22, 2022 @03:36PM
(#30433365)
how do you know the threads need to communicate with each other?
Re:Current hardware trends make C++ exceptions harder to jus...
by CyberDildonics on Saturday February 26, 2022 @03:14PM
(#30481421)
How do you know they don't?