Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dimonomid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
151.
▲
Heap on Embedded Devices: Analysis and Improvement
(blog.cesanta.com)
3 points
by
dimonomid
11y ago
|
0 comments
152.
▲
Standard Interface Between a Text Editor and an IDE?
(dmitryfrank.com)
4 points
by
dimonomid
11y ago
|
1 comments
153.
▲
Vim: Convenient Code Navigation for Your Projects
(dmitryfrank.com)
5 points
by
dimonomid
11y ago
|
0 comments
154.
▲
by
dimonomid
11y ago
Two hours after publishing a comment, I received two invitations in a row! Thanks a lot, guys. And sorry to the second guy, since I can only accept one invitation :)
155.
▲
by
dimonomid
11y ago
By the way, as an author of the article, I'd like to ask the HN community to send me an invitation to Lobsters: I want to be able to share my publications there as well. Before deciding whether to send an invitation, you might want to
156.
▲
Unit-testing embedded C applications with Ceedling
(dmitryfrank.com)
22 points
by
dimonomid
11y ago
|
6 comments
157.
▲
by
dimonomid
11y ago
Thanks for the feedback!
158.
▲
by
dimonomid
11y ago
As nostrademons pointed out above ( https://news.ycombinator.com/item?id=10261375 ), if you feel that some tool you've used has created mess (so that you even feel sick to your stomach), it's most likely not because
159.
▲
by
dimonomid
11y ago
> First you add an extra function pointer for any member, even if it's not virtual Wrong. If some function is not virtual, there's no point to add it to vtable; so, it's just a regular function. > Also the first tech
160.
▲
by
dimonomid
11y ago
Again, if we use it correctly, the resulting thing is much more maintainable than the code with switch-cases instead of virtual methods, and so on. By the way, similar approach is used across the Linux Kernel: check, for example, the book &
161.
▲
by
dimonomid
11y ago
Surely it does have some overhead. And, by the way, passing arguments to function has an overhead as well, comparing to globals. But, how often would you recommend use globals? The more interesting question is: how much overhead? And the an
162.
▲
by
dimonomid
11y ago
Disagreed. The techniques explained in the article worked quite well for me, and resulting projects are well-structured and very well maintainable for years. As ever, we have to apply common sense: as I mentioned in the article, 1-level inh
163.
▲
by
dimonomid
11y ago
Agreed. I'm not a lawyer, so not sure about legality, but since this clause is persisted for so long in their license, it seems they have no problems with it.
164.
▲
by
dimonomid
11y ago
Thank you for such a positive feedback! And thanks for sharing the book, I'll probably get to it. I've read a couple of books on Linux Kernel before writing TNeo, but haven't read anything on FreeBSD yet.
165.
▲
by
dimonomid
11y ago
TNeo never allocates memory from heap: it only operates on objects that are given as parameters to some system services. And this is really good: a great deal of embedded systems don't use heap at all (since heap behaviour is not deter
166.
▲
by
dimonomid
11y ago
Thank you very much for your feedback!
167.
▲
The story of writing reliable real-time kernel
(dmitryfrank.com)
11 points
by
dimonomid
11y ago
|
0 comments
168.
▲
Testing Socket.io and Passport.socketio with Mocha
(dmitryfrank.com)
3 points
by
dimonomid
11y ago
|
0 comments
169.
▲
How JavaScript closures work under the hood
(dmitryfrank.com)
83 points
by
dimonomid
11y ago
|
16 comments