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

I understand it works _if_ you declare p as being volatile, or explicitly tag it as _Atomic.

i.e., either of these forms:

    foo * volatile p;
    foo * _Atomic p;
Or at least it did when I was performing a similar experiment.

Sure. Or use a mutex, or use any of the other zillion concurrency-safe constructs out there. Still, Fil-C is memory-safe only up to data-race freedom. This bound is still a plenty useful, but Pizlo shouldn't be going around saying Fil-C is memory-safe in general when it ain't.

A section? All of Northumberland, as Wallsend is in Tyne and Wear.

The task of walking (or measuring) the whole of England's coastline is made a bit more difficult by the existence of various islands classed as part of England.

e.g. Isle of Wight, St. Mary's Island, Coquet Island, Lindisfarne, the other Farne islands, etc.


The volume of UK and US fluid ounces being different also doesn't help.

The UK pint is 568ml, apparently a US pint is 473 ml.


Attribute (qualifier), or storage class?

https://www.airs.com/blog/archives/428

The use of 'const' in C is very much a mixed blessing; I certainly have experience of the 'const poisoning' issue. Possibly it would have been better as a storage class.

For bool, yes it was a useful addition. Especially for the cases where old code would have something like:

    #define FLAG_A 1u
    #define FLAG_B 2u
    int has_flag_B (something *some) { return some->field & FLAG_B; }
and that was then combined with logic expecting 'true' to be 1; which could sneak in over time.


Alef [1], [2], [3] can in part be viewed as C where methods are available.

An 'aggr' is equivalent to C 'struct' combined with 'typedef', and an 'adt' is an 'aggr' having methods.

[1] https://en.wikipedia.org/wiki/Alef_(programming_language)

[2] http://doc.cat-v.org/plan_9/2nd_edition/papers/alef/ref

[3] http://doc.cat-v.org/plan_9/2nd_edition/papers/alef/ug


I had my first go at using it (Github Copilot) last week, for a simple refactoring task. I'd have to say I reasonably specified it, yet it still managed to to fail to delete a closing brace when it removed the opening block as specified.

That was using the Claude Sonnet 4.5 model, I wonder if using the Opus 4.5 model would have managed to avoid that.


It is London - hardly surprising.

Nothing will improve as long as Khan is Mayor, and may not even if he is replaced.

Anyway, MI6 (SIS) is the overseas spies, MI5 is the domestic spy agency.


Yes, it totally makes sense to blame Khan for what foreign intelligence services are doing in London. This is completely reasonable.


Someone being beaten up on the streets is domestic policing issue.

That the perpetrators may turn out to be foreign agents is neither here nor there, only if they were diplomatic staff would it not be a domestic policing issue. However the UK police have largely withdrawn from certain areas, and this would simply be another symptom.

High Court action suggests there was a civil case pursuing the perpetrators (or their principals), rather than a criminal case. With a properly functioning police system, that should not be necessary.

Kahn is the PCC for London, he sets their priorities.


Doesn’t matter if it’s people being poisoned with polonium or getting beaten up, preventing the activities of foreign intelligence services is generally not the job of the PCC.

It is the job of the British intelligence services to blow someone up in Riyadh to deter these activities.


Say you were the Mayor of London, and being a great mayor you have your priorities 100% correct.

Can you guarantee that something like this will never happen on your watch?


London just had the lowest annual murders for 11 years.

>Homicide rate now 1.1 per 100,000 people, lower than any other UK city and major global cities including New York (2.8), Berlin (3.2) and Toronto (1.6)

I guess you'll praise Khan, as PCC, for that?


Not within a mayor’s control


Lockdown mode allows one to optionally disable 2g, maybe it is also the default there. One can turn 2g back on in said mode if desired.

As to 3g, it is largely switched off here, and I understand most of the rest of the world is also disabling it.

However it does not remove images from messages, it just disables certain automatic helpers - e.g. link previews etc.

One can still send photos, etc without any issue.


This doesn’t mitigate the issue that a malicious base station poses by downgrading a phone.

It doesn’t matter what the network supports. It matters what the phone supports


An interesting theory, however I rather suspect it is basically because Limbo had a similar concept for pseudo-enums.

I allowed (e.g.) a syntax like:

    M0, M1, M2, M3, M4: con (1<<iota);
That was taken from one of the Limbo papers.


Actually lots is still on C89.

I'm trying to drag one program at $employer up to C99 (plus C11 _Generic), so I can then subsequently drag it to the bits of C23 which GCC 13 supports.

This all takes times, and having to convince colleagues during code reviews.

What C23 has done is authorise some of the extensions which GCC has had for some time as legitimate things (typeof, etc).

However the ability to adopt is also limited by what third party linters in use at $employer may also support.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: