Hello. I’ve read “Go vs D vs Erlang vs C in real life: MQTT broker implementation shootout”. Good Article but when i try to compile the code with dub i get “Error: module cerealed from file ..\..\..\cerealed-master\cerealed\package.d conflicts with package name cerealed”.
I am a newbie with D but I have a long experience with c/c++.
The compiler is DMD V2.0.63.2 on Windows 7.
Did i miss something? I’d like to implemente the broker on Windows for a sensor network based on Texas Instruments CC3000 over wifi.
That’s because I used the new package imports available in dmd 2.064. You can either upgrade or change every instance of “import cerealed” with the appropriate needed import e.g. “import cerelaed.cerealiser”.
Thanks for your writeup. I discovered this while digging around on the D mailing list archives. I am curious, would your erlang friend be interested in writing an Elixir version? I have been contemplating using it for some projects, but this has me really thinking now. Thanks!
The “pingtest (latency – bigger is better)” headline looks suspect to me. Normally lower latency is preferred. If this is not just a typo, perhaps better to include some explanation.
Probably this is not the best place to ask for it, but can you make your emacs.d configuration public? I’m curious to see how you using it and the tweaks you make for the editor in general and specially to the c++ language.
Speaking of c++, may I ask you how do you deal with some bugs of cc-mode (like the one that breaks indentation sometimes when writing a new #include to the file) and the lack of support for c++11/14 new language keywords, features, etc.
I’m still dealing with a lot of cc-mode bugs, and want to write a replacement. But that’ll take a lot of time. I tweaked some c++-mode stuff to make it more bearable, but still.
Actually I found that link right after I posted here, but thanks anyway, your init.el helped me a lot to get my ide-like emacs better.
May I ask you, can you make public some other files of your configuration? To be more specific, the atilla-c++.el which seems to be tweaks you talked about, and c++-include-files.el.
I couldn’t find your email anywhere, so I figured I would try to reach out to you here.
I was just wondering if you have any Cisco certifications?
If so, which ones in particular?
And are they worth it?
The reason I ask is that I’m trying to get a job as a C++ Developer, and I feel that I would be a heck of a lot more marketable if I had any of these certifications.
I’m watching a video of your 2019 DConf talk. I’m in a similar situation as you describe about Cisco. I inherited a large codebase which communicates via serial port. The culture is end-to-end testing with real hardware; there are no unit tests. I’m between a rock and hard place because I don’t want to make changes without unit tests, but I can’t make the code testable without changing it. The book, Working Effectively with Legacy Code, has been helpful. Do you have any advice for me?
The best advice would be to read that book, but you’ve already done that.
The next step is to do what I did in the same situation: mock/fake _everything_. At one point I wrote a CLI program that mimicked the real hardware just to test my testing framework on it… Another time we faked all the operating system headers we used in our project so we could run tests on Linux instead.
Hello. I’ve read “Go vs D vs Erlang vs C in real life: MQTT broker implementation shootout”. Good Article but when i try to compile the code with dub i get “Error: module cerealed from file ..\..\..\cerealed-master\cerealed\package.d conflicts with package name cerealed”.
I am a newbie with D but I have a long experience with c/c++.
The compiler is DMD V2.0.63.2 on Windows 7.
Did i miss something? I’d like to implemente the broker on Windows for a sensor network based on Texas Instruments CC3000 over wifi.
That’s because I used the new package imports available in dmd 2.064. You can either upgrade or change every instance of “import cerealed” with the appropriate needed import e.g. “import cerelaed.cerealiser”.
Thanks for your writeup. I discovered this while digging around on the D mailing list archives. I am curious, would your erlang friend be interested in writing an Elixir version? I have been contemplating using it for some projects, but this has me really thinking now. Thanks!
The “pingtest (latency – bigger is better)” headline looks suspect to me. Normally lower latency is preferred. If this is not just a typo, perhaps better to include some explanation.
It’s actually latency-constrained throughput.
Hello Atila,
Probably this is not the best place to ask for it, but can you make your emacs.d configuration public? I’m curious to see how you using it and the tweaks you make for the editor in general and specially to the c++ language.
Speaking of c++, may I ask you how do you deal with some bugs of cc-mode (like the one that breaks indentation sometimes when writing a new #include to the file) and the lack of support for c++11/14 new language keywords, features, etc.
Thanks!
I’m still dealing with a lot of cc-mode bugs, and want to write a replacement. But that’ll take a lot of time. I tweaked some c++-mode stuff to make it more bearable, but still.
I posted my emacs config in this thread:
https://www.reddit.com/r/emacs/comments/3pntmu/cppcon_2015_emacs_as_a_c_ide/
Actually I found that link right after I posted here, but thanks anyway, your init.el helped me a lot to get my ide-like emacs better.
May I ask you, can you make public some other files of your configuration? To be more specific, the atilla-c++.el which seems to be tweaks you talked about, and c++-include-files.el.
Thanks again!
Hi Átila,
I couldn’t find your email anywhere, so I figured I would try to reach out to you here.
I was just wondering if you have any Cisco certifications?
If so, which ones in particular?
And are they worth it?
The reason I ask is that I’m trying to get a job as a C++ Developer, and I feel that I would be a heck of a lot more marketable if I had any of these certifications.
Best,
John
I don’t have any Cisco certifications. They’re useless unless you want to be a network engineer.
Ok thanks for the feedback.
I’m just inspired to be like you in what you have done in your career.
Just not sure where to start.
Let alone not having any connections to start sucks.
I’m watching a video of your 2019 DConf talk. I’m in a similar situation as you describe about Cisco. I inherited a large codebase which communicates via serial port. The culture is end-to-end testing with real hardware; there are no unit tests. I’m between a rock and hard place because I don’t want to make changes without unit tests, but I can’t make the code testable without changing it. The book, Working Effectively with Legacy Code, has been helpful. Do you have any advice for me?
The best advice would be to read that book, but you’ve already done that.
The next step is to do what I did in the same situation: mock/fake _everything_. At one point I wrote a CLI program that mimicked the real hardware just to test my testing framework on it… Another time we faked all the operating system headers we used in our project so we could run tests on Linux instead.
Look into hexagonal testing / ports and adapters.