GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Alex Gleason (alex@gleasonator.com)'s status on Thursday, 11-Apr-2024 23:49:27 JST Alex Gleason Alex Gleason
    https://choubey.gitbook.io/internals-of-deno/threading-model/default-threads
    In conversation Thursday, 11-Apr-2024 23:49:27 JST from gleasonator.com permalink
    • Embed this notice
      Iska (iska@catposter.club)'s status on Friday, 12-Apr-2024 03:47:41 JST Iska Iska
      in reply to

      @alex@gleasonator.com dissapointing that javascript still lacks proper shared-memory multithreading

      In conversation Friday, 12-Apr-2024 03:47:41 JST permalink
      Alex Gleason likes this.
    • Embed this notice
      Alex Gleason (alex@gleasonator.com)'s status on Friday, 12-Apr-2024 03:47:52 JST Alex Gleason Alex Gleason
      in reply to
      • Iska
      @iska Yes. This one aspect makes me question my choices. But then I remember how hard it is to do anything in other languages because there's no support for them.
      In conversation Friday, 12-Apr-2024 03:47:52 JST permalink
    • Embed this notice
      gentoobro (gentoobro@gleasonator.com)'s status on Friday, 12-Apr-2024 09:42:05 JST gentoobro gentoobro
      in reply to
      • Iska

      @iska @alex This basically boils down to data structure synchronization. It's not feasible to make thread-safe data structures fast enough to replace every single object/dict/hash/array/whatever in the entire language for general usage. Unsynchronized access can lead to all sorts of errors that people don't expect out of a high-level language, like segfaults and memory corruption. C++ gives you a bazooka with 3 safeties and a 20 kilo weight on the muzzle, C gives you a semiauto Glock with no safety, Go gives you a captive bolt gun with a tag saying "don't place on your nuts". All of them still let you hose a data structure from another thread and laugh when it happens. JS is a padded cell filled with exotic full-auto nerf guns designed for unrestricted public access.

      On top of that is the semantics of functions being atomic in execution with respect to other functions, but that can be changed.

      In conversation Friday, 12-Apr-2024 09:42:05 JST permalink
      Alex Gleason likes this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.