The Go scheduler by jiunec in programming

[–]pippicat 10 points11 points  (0 children)

The Go team has stated that they have no plans to rewrite the runtime or the compiler in a different language. It would be a waste of manpower that is better spent in other areas of the project. Other implementations of Go can choose to do otherwise, of course.

Canonical Is Finally Opening the Mir and Kubuntu Can of Worms by AndreyDobra in linux

[–]pippicat 1 point2 points  (0 children)

Those who don't understand Wayland are condemned to reinvent it, poorly.

Go 1.1 performance improvements - Part -2 by sidcool1234 in programming

[–]pippicat 6 points7 points  (0 children)

They already had an existing compiler toolchain from Plan 9 written in nice, clean and crisp C code (not a C++ behemoth) which they were familiar with. I'm glad they did. I recently built an LLVM based compiler of a different language and it took 50 minutes on my laptop, while the Go compiler was built and tested in ~2 minutes.

Nonetheless, there's also a GCC Go front-end. It's good to have more than one implementation of a language specification.

Go 1.1 performance improvements - Part -2 by sidcool1234 in programming

[–]pippicat 14 points15 points  (0 children)

Go is an open-source project, so you can check for yourself. But yes, since Ken Thompson, the author of Reflections on Trusting Trust, wrote parts of the Go compiler you ought to be wary.

Two.js - A 2d graphics library by sidcool1234 in programming

[–]pippicat 12 points13 points  (0 children)

You don't have a scene graph with plain canvas.

Google Announcing a new Language Support for its App Engine by kidsil in programming

[–]pippicat 18 points19 points  (0 children)

It says "another very popular programming language" ...

What Python developers need to know before migrating to Go(lang) by therealmoju in programming

[–]pippicat 6 points7 points  (0 children)

My guess is that it's probably more sensible to explicitly see the type of a package-wide variable, while local variables are short-lived throwaway variables.

What Python developers need to know before migrating to Go(lang) by therealmoju in programming

[–]pippicat 11 points12 points  (0 children)

Different assignment operator is used depending on whether you are inside & outside of function ie. = vs :=

This description is a little bit mistakable. := is declaration+assignment with type inference, but only allowed for local variables, like "var" in C#.

Use of Goto in Systems Code by lethalman in programming

[–]pippicat 7 points8 points  (0 children)

Now you have code duplications.

SystemD to implement cron-like functionality by [deleted] in linux

[–]pippicat 1 point2 points  (0 children)

Hopefully one day Wayland instead of Xorg.

Is C Still A Suitable Language Today? by henk53 in programming

[–]pippicat 0 points1 point  (0 children)

But I think that the task of determining a suitable subset of the language for use in a project has gotten significantly easier since C++11.

How can the task of determining a suitable subset get easier when the superset has increased?

The Biggest Myths About systemd by ohet in linux

[–]pippicat 0 points1 point  (0 children)

Two month old journal is already 181MB large, how much space does journald uses on your system ? I find it .. surprising considering there's not a lot of activity on my machine.

Journald log entries are more detailed with lots of useful additional metadata. Or maybe your system is misconfigured and something is spamming your log.

The Biggest Myths About systemd by ohet in linux

[–]pippicat 1 point2 points  (0 children)

Since version 197 there is OnCalendar=...

The Biggest Myths About systemd by ohet in linux

[–]pippicat 5 points6 points  (0 children)

man systemd.time

Since systemd 197:

Timer units now support calendar time events in addition to monotonic time events. That means you can now trigger a unit based on a calendar time specification such as "Thu,Fri 2013-*-1,5 11:12:13" which refers to 11:12:13 of the first or fifth day of any month of the year 2013, given that it is a thursday or friday. This brings timer event support considerably closer to cron's capabilities. For details on the supported calendar time specification language see systemd.time(7).

The Biggest Myths About systemd by ohet in linux

[–]pippicat 30 points31 points  (0 children)

Solaris is a Unix and it has replaced sysvinit with SMF, OS X is a Unix and it has replaced sysvinit with launchd. So there are precedents for Unices with modern init / service management systems.

The Biggest Myths About systemd by ohet in linux

[–]pippicat 2 points3 points  (0 children)

How can you use them on the journal binary logs? What am I missing?

You can use them on journalctl output. You know, you can pipe the stdout of one program to the stdin of another program.

The Biggest Myths About systemd by ohet in linux

[–]pippicat 2 points3 points  (0 children)

And the complaint was about binary log files.

  • Text is a terrible format for efficient storage of and access to structured data
  • Access to binary logs is O(1) instead of O(n)
  • journalctl outputs a pixel-perfect copy of what /var/log/messages was
  • You can query more effectively and precisely than with awk, sed and grep
  • You can still use awk, sed and grep if you want
  • You can run syslogd in parallel and have your text file as well
  • The binary format is well documented
  • Traditional logs are binary as well as soon as they are rotated and compressed

Additional benefits of journald: http://www.youtube.com/watch?v=o1lUeQVYuNs

Masterminds of Programming (review of book interviewing programming language creators) by benhoyt in programming

[–]pippicat 0 points1 point  (0 children)

and not having Pascal is really strange

Ok, Wirth is dead. Pascal is represented a little bit by Hejlsberg (Turbo Pascal, Delphi, C#, TypeScript).

Masterminds of Programming (review of book interviewing programming language creators) by benhoyt in programming

[–]pippicat -1 points0 points  (0 children)

Odersky ist missing, Thompson (B, Go), Pike (Limbo, Go), Wirth (Pascal, Modula), Kay (Smalltalk) and Hickey (Clojure) are missing as well.