Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by Vertigo (vertigo@mastodon.social), page 11

  1. Vertigo (vertigo@mastodon.social)'s status on Tuesday, 21-Aug-2018 16:15:28 EDT Vertigo Vertigo

    I really ought to be writing some code, if not for my job interview, then at least for my up-coming SVFIG talk. But with my headache, I am the intellectual equivalent of a jellyfish right now.

    In conversation Tuesday, 21-Aug-2018 16:15:28 EDT from mastodon.social permalink
  2. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 18:26:51 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper Range checking is a separate issue. YES, I want range checking. (I also want the option to selectively turn that stuff off when I want to as well, but I digress.) But I see that as an attribute of a more expressive type system, and in my view has little or nothing to do with how pointers are expressed at run-time.

    Unless we're talking about something else? Maybe I missed a cue somewhere.

    In conversation Monday, 23-Jul-2018 18:26:51 EDT from mastodon.social permalink
  3. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 17:20:53 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper I'm not sure how this relates. Real-mode segment registers are just base address registers, and they referred to the same physical address space.

    Different *classes* of address spaces didn't come into vogue on x86 architecture until 80286's Protected Mode, which allowed 16-bit selectors to serve as *handles* into a descriptor table, which then had a 24-bit base address pointer along with memory protection bits associated with them.

    In conversation Monday, 23-Jul-2018 17:20:53 EDT from mastodon.social permalink
  4. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 17:18:38 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper If one wanted to prove the point, one could literally implement an Oberon compiler for a 64-bit virtual address space, but use 16-bit precision for pointers. Yes, you'll be limited to just 65536 distinctly different records or arrays, BUT, those individual records/arrays can be gargantuan.

    In conversation Monday, 23-Jul-2018 17:18:38 EDT from mastodon.social permalink
  5. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 17:16:41 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper C can't handle this because pointers must obey the laws of addition (they must be commutative, monotonic, etc.). This requirement does not hold for Pascal, Modula-2, or Oberon. All they have to do is point at something; they're a run-time generated name for something else in their stead. That's all they're good for.

    In conversation Monday, 23-Jul-2018 17:16:41 EDT from mastodon.social permalink
  6. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 17:15:20 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper I never programmed with Turbo Pascal; only with VAX Pascal. I didn't get to use a Wirth-authored language again until Oberon System, which by then was targeting a 32-bit flat environment.

    However, I did not have bounds checking in mind at all.

    The fact is, a segment register in real-mode is simply (base_address >> 4). That's it. It is literally a 20-bit pointer stuffed into a 16-bit word.

    In conversation Monday, 23-Jul-2018 17:15:20 EDT from mastodon.social permalink
  7. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 17:13:06 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper No, I'm not referring to that either. I'm literally *just* referring to that a pointer points to the head of something. Never within said something. Never beyond said something. Only *at* something.

    In conversation Monday, 23-Jul-2018 17:13:06 EDT from mastodon.social permalink
  8. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 16:54:36 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper Contrast this with a language designed by Wirth or any of its intellectual descendents: the only things you can do with a pointer is assignment, test for NIL, and dereference. That's *it*. A[B] was syntactically and checkably different from P^.

    This distinction allows the compiler greater freedom to implement pointers however it makes sense to on the target hardware. C's approach *requires* addresses to approximate a number line, because of the array/pointer equivalence.

    In conversation Monday, 23-Jul-2018 16:54:36 EDT from mastodon.social permalink
  9. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 16:52:21 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper No, the problem is that A[B] in C is equivalent to *(A+B). C does not check that your expression in any way makes sense. Consider that these two expressions are completely identical:

    struct {
    int foo;
    } bar[32];

    int i = 5;

    printf("Approach 1: %d\n", bar[i].foo);

    printf("Approach 2: %d\n", i[bar].foo); // HUH?

    That you could trivially exceed bounds, or concoct weirded out statements like this meant that segmentation could not be used.

    In conversation Monday, 23-Jul-2018 16:52:21 EDT from mastodon.social permalink
  10. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 16:49:34 EDT Vertigo Vertigo
    • h
    • Turok Rigel

    @DistopianK @h Right, which is why I mentioned building the OS around CL. But, RISC vs stack architecture CPUs (the latter of which comprised many processors for Lisp machines back in the day)? I'm not sure that distinction matters anymore.

    Which brings me to FOSH hardware; you can get (for example) a picoRV32-based system running quite inexpensively on an off-the-shelf FPGA board, running a modest yet respectable clock speed. The difficulty will be in porting the host OS for it, I think.

    In conversation Monday, 23-Jul-2018 16:49:34 EDT from mastodon.social permalink
  11. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 16:34:50 EDT Vertigo Vertigo
    • Marcin Cieślak

    @saper No, lots of stuff wrong with allowing pointer arithmetic. It's not based on cells; it's based on the type of the aggregated item, which can be type-cast at will to anything, anywhere.

    In conversation Monday, 23-Jul-2018 16:34:50 EDT from mastodon.social permalink
  12. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 16:25:29 EDT Vertigo Vertigo
    • h
    • Turok Rigel

    @DistopianK @h How do you define a "Lisp machine," though? A generic computer running Genera? Or a machine running on top of a processor whose instruction set is specifically tailored for executing Lisp?

    If the former, then any open source computer could be suitable for this task. It just requires the effort of porting Common Lisp to it, and building an OS around said Common Lisp implementation.

    In conversation Monday, 23-Jul-2018 16:25:29 EDT from mastodon.social permalink
  13. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 16:22:25 EDT Vertigo Vertigo
    • h

    @h I'd like to see the timeline of Solaris vs Plan 9 before accepting that view of history.

    So far, there is no aspect of Plan 9 which I disagree with.

    In conversation Monday, 23-Jul-2018 16:22:25 EDT from mastodon.social permalink
  14. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 16:13:36 EDT Vertigo Vertigo
    • h

    @h This really nicely illustrates why Plan 9 is so superior to Linux here. Plan 9 is basically containerized out of the box; it's impossible to run anything *not* in a container. It's intrinsic in how Plan 9 works.

    Here, we see how Linux tries to do the same, largely succeeding, but you have to be really persnickety about the fine details.

    Docker would never succeed on Plan 9; there's no market for it. On Linux, it is a band-aid on top of the worse-is-better approach.

    In conversation Monday, 23-Jul-2018 16:13:36 EDT from mastodon.social permalink
  15. h (h@social.coop)'s status on Monday, 23-Jul-2018 14:00:43 EDT h h

    If you're a programmer who likes the functionality that Docker provides, but you can't stand the bloat, I can't recommend this talk by Liz Rice enough. Liz's "Containers From Scratch" presentation is a classic already. One badass classic for #golang and for hacker culture as well.

    https://www.youtube.com/watch?v=8fi7uSYlOdc

    The takeaway is: You don't really need Docker bloat to do containers.

    In conversation Monday, 23-Jul-2018 14:00:43 EDT from social.coop permalink Repeated by vertigo
  16. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 15:22:48 EDT Vertigo Vertigo
    • jjg
    • Rain 🚱
    • h

    @grainloom @jjg @h Also, Rust's standard libraries makes heavy use of parametric polymorphism (templates), just as Boost does for C++. You're going to pay for that as well, even if you compile for production and strip the executable.

    You should find as your project grows, though, binary sizes won't grow as much. That's been my experience, at least so far.

    In conversation Monday, 23-Jul-2018 15:22:48 EDT from mastodon.social permalink
  17. mooncake (mooncake@anticapitalist.party)'s status on Monday, 23-Jul-2018 15:03:26 EDT mooncake mooncake

    Here's the GoFundMe for Nia's family

    https://www.gofundme.com/justice-for-nia-wilson (been confirmed by multiple people)

    In conversation Monday, 23-Jul-2018 15:03:26 EDT from anticapitalist.party permalink Repeated by vertigo

    Attachments

    1. Invalid filename.
      Click here to support Justice For Nia Wilson organized by Malika Harris
      from gofundme.com
      My little sister 18 year old Nia Wilson was on bart in Oakland ca, heading home with her other two other sister’s on her father’s side of the family, (Nia older sister was also stabbed and is currently in the hospital in icu) when Nia was randomly attacked and stabbed to death by a White supremac...
  18. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 15:04:38 EDT Vertigo Vertigo

    http://toastytech.com/guis/c64gboot.gif

    In conversation Monday, 23-Jul-2018 15:04:38 EDT from mastodon.social permalink
  19. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 15:00:04 EDT Vertigo Vertigo
    • h

    @h They're good kibibytes, Bront.

    In conversation Monday, 23-Jul-2018 15:00:04 EDT from mastodon.social permalink
  20. Vertigo (vertigo@mastodon.social)'s status on Monday, 23-Jul-2018 14:59:28 EDT Vertigo Vertigo
    • Elly, nasty enby :heart_pan:

    @Elizafox I never trusted those features. Keep us updated on how well it works.

    In conversation Monday, 23-Jul-2018 14:59:28 EDT from mastodon.social permalink
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.