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

Unfortunately similar things will be mandated by EU law through cyber resiliance act (CRA) in order to ensure tamper free boot of any kind of device sold in the EU from Dec 2027.

Basically breaking any kind of FOSS or repairability, creating dead HW bricks if the vendor ceases to maintain or exist.


What's worrying isn't the CRA itself, but that companies may use it as cover to lock things down more than necessary


Shouldn't the EU then escrow keys?


I guess what you can do in golang that would be very similar to the rust impl would be this (and could be helpful even in real life, if all you need is a whole lot of timers):

  func test2(count int) {
  
   timers := make([]*time.Timer,count)
   for idx, _ := range timers {
    timers[idx] = time.NewTimer(10 * time.Second)
   }
   for idx, _ := range timers {
    <-timers[idx].C
   }
  }
This yields to 263552 Maximum resident set size (kbytes) according to /usr/bin/time -v

I'm not sure if I missed it, but I don't see the benchmark specify how the memory was measured, so I assumed the time -v.


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

Search: