threading   5365

« earlier    

The volatile keyword in Java
How and when to use volatile variables in Java, comparison with 'synchronized', and what volatile means in different versions of Java.
java  synchronize  volatile  threading 
16 days ago by aexel
Why you can have millions of Goroutines but only thousands of Java Threads
Golang prevents large (mostly unused) stacks running the system out of memory with a clever trick: Go’s stacks are dynamically sized, growing and shrinking with the amount of data stored. This isn’t a trivial thing to do, and the design has gone through a couple of iterations.4 While I’m not going to get into the internal details here (they’re more than enough for their own posts and others have written about it at length), the upshot is that a new goroutine will have a stack of only about 4KB. With 4KB per stack, you can put 2.5 million goroutines in a gigabyte of RAM – a huge improvement over Java’s 1MB per thread.
go  golang  programming  java  memory  threading 
5 weeks ago by danesparza
Idle Until Urgent — Philip Walton
A technique in JavaScript within the browser for speeding up app launch: create wrappers of slow-to-initialize objects which attempt to load during idle time, but instead load on the main thread if they are accessed.
threading  javascript  webdevelopment  concurrentprogramming  via:HackerNews 
8 weeks ago by mcherm

« earlier    

related tags

*****  activity  actors  aix  algorithm  amazon  article  asp.netcore  async  asynchronousprogramming  aws  backgroundworker  backtobasics  best-practice  bestpractices  blocking  browser  bryan-cantrill  buffer  c#  c++  c-lang  c99  cache  child_process  clojure  clone  cloud  clr  cluster  clustering  cocoa  comparison  computing  concurrency  concurrent  concurrentprogramming  context  cool  core  coreasync  coredump  coroutine  cpu  crash  critique  csharp  data  debug  deep-learning  delay  dev  development  diagnostic  dispatchqueues  disruptor  distributed  distributedsystems  dotnet  dotnetcore  education  election  email  erlang  etw  eventing  exactly  example  exec  failure  flask  fork  framework  future  futures  gil  go-lang  go  golang  gui  gunicorn  hackernews  hn  howto  http  image  images  inner  innner  internals  interrupt  intro  io  ipynb  java  javascript  js  jvm  jwz  kafka  kernel  kivy  leader  library  lightweight  linux  machine-learning  macro  memory  memorymodel  messaging  metrics  multicore  multiprocess  multiprocessing  multithreading  mutex  native  node-js  node.js  node  nodejs  objective-c  once  opensource  packaging  parallel  parallelism  pattern  performance  perfview  persistence  php  pipeline  pool  processes  producer/consumer  production  programmig  programming  py  pyqt  python  qt  quasar  queue  rant  recovery  reliability  rest  ring  ruby-gem  ruby-lang  rust  scala  scalability  scaling  screen  serverless  shell  single  software  softwaredevelopment  solaris  stackoverflow  stateful  stm  stream  supervisor  swift  switching  synchronize  terms  thread  threads  tips  tkinter  tm2??  tma  tpl  trees  twitter  unix  update  usage  virtualization  visualization  volatile  wasm-lang  webdev  webdevelopment  website_change_detection  windows  working 

Copy this bookmark: