Non-thorough underlevel tech learning could be harmful

作者在进行Mac移植工作中遭遇效率低下问题,并反思了在非Windows环境下工作带来的挑战。由于具备操作系统级开发经验,作者对现有OS API产生了怀疑,在调试过程中耗费大量时间于基本API的验证上。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

I'm still focusing on Mac porting work. Without being familiar with Unix-like OS, my work efficiency is far lower than on Windows. What's more, another potential issue came out. I've got some operating system level development experience, which improved my understanding to computer system. Along with the benefits from such background, I am trapped by it too.

After reading the implementation of some basic OS APIs, and even implementing my own version of those, I start to lose the trust to all the existing OS APIs. I met a tricky issue on fclose() on Mac that it seemed not to release the handle resource at all. This mistake cost me nearly two hours and deprived chances for me to dig other spots. After testing, fclose() has no problem.-- It sounds ridiculous to test Mac internal. And I admit it.

At least I got one rule for debug : believe your working OS, or you'll be like in a black hole.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值