Hal-5700X@sh.itjust.works to Technology@lemmy.worldEnglish · 8 个月前Microsoft wants to replace its entire C and C++ codebase, perhaps by 2030www.theregister.comexternal-linkmessage-square96fedilinkarrow-up1231arrow-down113cross-posted to: programming@programming.dev
arrow-up1218arrow-down1external-linkMicrosoft wants to replace its entire C and C++ codebase, perhaps by 2030www.theregister.comHal-5700X@sh.itjust.works to Technology@lemmy.worldEnglish · 8 个月前message-square96fedilinkcross-posted to: programming@programming.dev
minus-squareZILtoid1991@lemmy.worldlinkfedilinkEnglisharrow-up4arrow-down1·8 个月前Linux usually just uses C API, most of which reads horribly. Libevdev is quite notorious for using files and the docs not telling you that the reading is blocking. Some additional things use C++ classes though.
minus-squareSuperSpruce@lemmy.ziplinkfedilinkEnglisharrow-up2·8 个月前Could you provide a link to the documentation? It’s strange that it’s so barebones.
minus-squareZILtoid1991@lemmy.worldlinkfedilinkEnglisharrow-up2·8 个月前https://www.freedesktop.org/software/libevdev/doc/latest/
Linux usually just uses C API, most of which reads horribly. Libevdev is quite notorious for using files and the docs not telling you that the reading is blocking. Some additional things use C++ classes though.
Could you provide a link to the documentation? It’s strange that it’s so barebones.
https://www.freedesktop.org/software/libevdev/doc/latest/