=?UTF-8?B?w5bDtiBUaWli?= <
oot...@hot.ee> writes:
>On Friday, 12 August 2022 at 19:44:23 UTC+3, Scott Lurndal wrote:
>> =?UTF-8?B?w5bDtiBUaWli?= <
oot...@hot.ee> writes:
>> >On Friday, 12 August 2022 at 17:58:41 UTC+3, Scott Lurndal wrote:
>> >> =?UTF-8?B?w5bDtiBUaWli?= <
oot...@hot.ee> writes:
>> >> >On Friday, 12 August 2022 at 11:26:37 UTC+3,
Mut...@dastardlyhq.com wrote:
>> >>
>> >> >> >OK ... then use CLion, works fine on Linux ... I think it was less than
>> >> >> >$200/year.
>> >> >> Using command line tools is $0 a year.
>> >> >
>> >> >Decent engineer costs about $200K/year so it is pointless to save 0.1%
>> >> >of it and then waste her time with inadequate tools.
>> >> Inadequate is in the eye of the beholder, of course. Operating system
>> >> developers, for example, don't generally use IDEs, at least in my CPOE.
>> >
>> >Writing operating systems is not different from other programming.
>> How many have you written? How many have you debugged once written?
>
>Whatever Texas Instruments controller has basically only garbage as SW, make
>board around it and somehow we have to operate it, same is with FPGAs.
>Have also had plenty of experience debugging drivers to communicate with
>such boards and whatever gadgets on those ... say recently SD card readers.
How well does your IDE handle debugging on the remote target board? Does
it support JTAG access (and coresight on embedded ARM processors), or kgdb
when debugging linux remotely?
>But what is your take, how it is supposed to differ from other programming?
Primarily, the built-in debug and run-time facilities of an IDE are useless
when developing operating systems; an editor and make file have been and
still are the mainstay of OS development, whether proprietary or open source
such as linux or freebsd/openbsd.
>Also how does usage of grep to find things in code base make it easier?
I do not recall making any such claim, that was Muttley, I believe.
In the 80's one enabled the compiler option to generate a cross reference
table (or used a standalone cross-reference program) and printed it.
In the 90's one used cscope, which was integrated later into vim. That's
how I find things in the code base, when necessary. Even in C++ code, where
it works well enough.
I do find that using grep to create a list in a different window from the
editor window is quite useful. I prefer having multiple windows on multiple
monitors rather than a monolithic IDE window. I've been using vi for decades
and see no reason to learn a new editor, when modern VIM with integrated cscope
provides most of the IDE facilities useful to the code I develop professionally.
I generally use vim instead of gvim as tunnelling X11 over slow ssh links
doesn't perform as well remotely.
I suppose one could argue that modern vim (with hsplits and vsplits) is an IDE
of sorts when integrated with other tools like make, ctags or cscope. It will
even highlight and position at errors (although that gets clumsy with large
projects with lots of source and header files).
I wonder how well clion or eclipse or vs code would handle this project? (which generates
a single executable with a bunch of shared objects loaded dynamically by the
application as required)
$ ./sloccount
Totals grouped by language (dominant language first):
ansic: 10681243 (84.66%)
cpp: 977390 (7.75%)
python: 918261 (7.28%)
asm: 35177 (0.28%)
sh: 2534 (0.02%)
perl: 1198 (0.01%)
Total Physical Source Lines of Code (SLOC) = 12,615,911
Development Effort Estimate, Person-Years (Person-Months) = 4,045.71 (48,548.50)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 12.57 (150.90)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 321.73
Total Estimated Cost to Develop = $ 546,520,140
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.