Hacker Newsnew | past | comments | ask | show | jobs | submit | mauchter's commentslogin

Yes. See https://lore.kernel.org/all/1414528565-10907-1-git-send-emai...

(I believe the Xilinx-forked kernel uses a derivative of these patches)


You cite "a professor", and this article is also about a singular professor. That implies that this is the exception, not the rule. Students have ample opportunities elsewhere for exposure to "enterprise commercial software".

The delta between Jitsi Meet and Zoom or Teams for video-conferencing is minimal from a user experience perspective. The idea that a CS graduate from MIT would struggle to figure out Zoom or Teams at their first job is laughable.


> The idea that a CS graduate from MIT would struggle to figure out Zoom or Teams at their first job is laughable

What is worse, is that if this was the case, the University failed spectacularly in their goal. I would mean they trained a monkey to do one trick.

I sincerely hope a university like MIT is better than simply training monkeys some tricks which they then repeat ad-infinitum at "their jobs".


This article is five years old; it'd be nice to note that in the title.


> On lines 15-16 we assign our void pointer back to our castptr int pointer. Notice the explicit cast needed.

The explicit cast is not needed in C.


Correct. This is also why you do not need to cast the result of malloc(). An assignment of a pointer to void to another pointer initiates an implicit conversion.


And it is actually somewhat dangerous to cast the return value of malloc. Aside from being redundant it can hide an error on compilers which implement an older version of the standard (not uncommon. Anything pre-C99).

If you forget to include stdlib.h the cast hides the error and malloc will be assume to be a function which returns int. makes for interesting runtime errors.

Never cast the return value of malloc in C, and don't write redundant code. C is not C++.


You might be interested in http://lug.rose-hulman.edu/proj/aweather


Or glibc, which dropped support a few weeks ago: http://repo.or.cz/w/glibc.git/commit/d75a0a62b12c35ee85f786d...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: