Okay this is more of a barebone question(linking, low level). When i have A.dll and B.dll, both export a function "Foo". I have program Bar.exe which links against both dlls and imports both functions. How is this solved on the linker level? Are Lib-Files generated which specify different External/Internal names?

In FlatAssembler this is pretty easy. You add each entry to the IData-Section (Import which function, from which dll, as which function). Which allows to map around this. However in the world of linkers like those used in MSVC, nothing works without a lib-file :/

Trying to understand how this works.

I'm working on an embedded system project for STM32L4. I have to use __fp16 type, but Eclipse (Oxygen, with newest GNU MCU Eclipse) keeps highlighting it as error, while GCC (freddiechoppin's bleeding-edge toolchain 6.3.1) has no problems with that.

Is there any way to fake this type, so Eclipse would not mark it as error? It's really annoying.

Post has attachment
Nice quick intro to CMake and why you should use it.

Post has attachment

Post has shared content

Post has attachment
I can't seem to find why my code is too slow compared to another version i found on the same exercise if maybe someone could explain to me whats faster in either piece of code
https://pastebin.com/NzaA6Qrc

Does anyone know how to code kernel mode memory space in C++? I need some basic info about it. hyperlinks are ok.

Post has attachment

Post has attachment
The Free Lunch is Over

Isn´t it amazing that it has been more than 10 years since Herb Sutter wrote the essay “The Free Lunch is Over” (http://www.gotw.ca/publications/concurrency-ddj.htm) and that concurrency is still such a live issue? In this legendary article Herb describes that it is time to grow concurrent programming’s requirements, pitfalls, styles, and idioms. Topics that have high relevancy also in 2017.

For developers interested learning more about parallelism and how to optimize C++11/14/17, Mr Sutter runs a 3-day course about High-Performance and Low-Latency C++ in London, 9-11, October, 2017.

Details about the training can be found at: http://bit.ly/HerbSutter.

please any one explain function and operator overloading??
Wait while more posts are being loaded