タグ

2019年9月27日のブックマーク (3件)

  • 未定義動作により最適化レベルで結果が変わるコード - Qiita

    はじめに 「C++アドベントカレンダーが埋まらない〜」という悲鳴が聞こえてきたので、小ネタを投下します。 C++には「未定義動作」というものが存在します。いや、もちろん他の言語にもあるんですけど、C++の未定義動作はちょっと雰囲気が違っています。つまり、世の中には「C++未定義動作を愛する人」というのがいるんですね。愛するというか、未定義動作の匂いを嗅ぎつけるとどこからともなくやってきて「ハナカラアクマ!」と叫びます。「ハナカラアクマ!」というのが何か詳しくは知りませんが、未定義動作を浄化するためのおまじないのようなものだと思えば間違いないと思います。 そんなわけで、うっかり未定義動作を踏んだコードを書いて公開しようものなら、「シープラプラシヨウケイサツ」という秘密結社のメンバーがやってきて、コメント欄で「ハナカラアクマ!」と叫ばれてしまいます。 で、世の中様々な未定義動作の例が落ちている

    未定義動作により最適化レベルで結果が変わるコード - Qiita
    gfx
    gfx 2019/09/27
  • GitHub、ソースコードの脆弱性解析ツールを展開するSemmle買収を発表

    GitHubは、ソースコードの脆弱性などを検索、解析するツールを展開しているSemmleの買収を発表しました。よりセキュアなソフトウェア開発を支援するとしています。 Our mission is to build a global platform for developer collaboration. But that platform needs to be one that all of us can use to secure the world’s software, together. Learn more on how you can help. https://t.co/I4FkD7y3Ye — GitHub (@github) September 18, 2019 Semmleは、SQLのようなクエリ言語を使って大量のソースコードに対してプログラミングのパターンを検索す

    GitHub、ソースコードの脆弱性解析ツールを展開するSemmle買収を発表
    gfx
    gfx 2019/09/27
  • HTTP/3: the past, the present, and the future

    HTTP/3: the past, the present, and the future2019-09-26 During last year’s Birthday Week we announced preliminary support for QUIC and HTTP/3 (or “HTTP over QUIC” as it was known back then), the new standard for the web, enabling faster, more reliable, and more secure connections to web endpoints like websites and APIs. We also let our customers join a waiting list to try QUIC and HTTP/3 as soon a

    HTTP/3: the past, the present, and the future
    gfx
    gfx 2019/09/27