Better HN
topnewbestaskshowjobs
Log inSign up

beatbrokedown

125 karma · joined Jul 17, 2012 (14y ago) · 9 submissions

Submissions

comment 6d ago · link · parent

I commented above but:

This is common issue with LLM webpages and using huge CSS blurs / etc for things like the CRT mask etc. If your browser is not GPU accelerated it will be horrifically slow and laggy and there is no fallback.

comment 6d ago · link · parent

This is common issue with LLM webpages and using huge CSS blurs / etc for things like the CRT mask etc. If your browser is not GPU accelerated it will be horrifically slow and laggy and there is no fallback.

comment 9y ago · link · parent

If you make one small change to this file you can cause clang and gcc to both prevent this from compiling if you are using warnings.

  namespace {
    void NeverCalled() { Do = EraseAll; }
  }
or marking NeverCalled as static itself.

Results in warning: unused function NeverCalled.

In general this is best practice for functions defined and used in a single translation unit.

comment 10y ago · link · parent

Fixes https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED...

5.

GCC 6.2 Released(gcc.gnu.org ↗)

1 points · by beatbrokedown · 10y ago · 1 comment

comment 11y ago · link · parent

My fuzzing went:

8 4 2 (no) 1 2 3 (yes) 1 1 1 (no) 1 100 123 (yes) 1.0 1.1 1.2 (yes)

answer: incrementing numbers

comment 12y ago · link · parent

Interesting the main page http://gcc.gnu.org/ lists 4.9 as the current release as opposed to Development release.

8.

GCC 4.9 Release Series – Changes, New Features, and Fixes(gcc.gnu.org ↗)

134 points · by beatbrokedown · 12y ago · 39 comments

comment 14y ago · link · parent

Just in case anyone forgets this is from 1994(it's in the title!). Typical modern C++ has been using this pattern for quite a while (boost::function / boost::bind) and it is now even part of the standard (std::function / std::bind). So don't go implementing Functor0->Functor9 yourself!

It is always nice though to see how C++ has grown after so many years and clearly still has staying power for even new projects.