News for hackers. Stuff that matters.
Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by pjmlp on Wednesday July 05, 2023 @04:30AM (#36597446)
Hardly any different from going with C and C++, which could have been wrapped via CGO.
Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by p0w3n3d on Wednesday July 05, 2023 @05:20AM (#36597823)
sorry, in theory it's okay, in practice it's much more difficult.

-- edit -- speaking of Qt

Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by pjmlp on Wednesday July 05, 2023 @05:39AM (#36597981)
CGO supports C++.
Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by p0w3n3d on Sunday July 09, 2023 @05:04PM (#36658875)
Qt framework is not about C++. It creates another language inside with different mechanics. And most important, different memory management patterns. Sometimes the objects are managed by Qt parent object, sometimes not. I wouldn't commit to a project that would create a GUI in Qt using CGO.
Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by maccard on Wednesday July 05, 2023 @06:21AM (#36598293)
Writing c and go, and using c bindings is pretty painful compared to just writing go. It's technically possible Just like being technically correct, it's the worst kind of correct/possible.
Re:Show HN: CodePerfect, a fast, lightweight IDE for Go by pjmlp on Wednesday July 05, 2023 @07:02AM (#36598599)
Just like JNI, if only there were a couple of companies that would embrace JNI to create IDEs...