• 0 Posts
  • 70 Comments
Joined 3 months ago
cake
Cake day: July 29th, 2024

help-circle


  • Actually jit languages can outperform compiled languages by using runtime analysis to perform tiered compilation and profile guided optimisations.

    C# has made some great strides in this regard.

    All the normal optimisations are applied when it is compiled to byte code. Like loop unrolling etc.

    Then once it detects the hot paths during execution it can apply even more based on how it is called. It can also do optimisations that aren’t possible at initial compile time.

    Dynamic PGO it’s called. It’s a really interesting topic.



  • Use your bed only for sleep. No screens for a few hours before bed. Milk before bed. Reading or audio books are a great way to settle your mind.

    If you aren’t asleep after 30 or so minutes get up and do something chilled for a little bit. Laying there getting pissed you aren’t asleep doesn’t help.

    Stick to a sleep / wake schedule. I’ve found getting up early and consistently much more effective for sorting out my sleep.














  • I mean they literally do analyze text. They’re great at it. Give it some text and it will analyze it really well. I do it with code at work all the time.

    Because they are two completely different tasks. Asking them to recall information from their training is a very bad use. Asking them to analyze information passed into them is what they are great at.

    Give it a sample of code and it will very accurately analyse and explain it. Ask it to generate code and the results are wildly varied in accuracy.

    I’m not assuming anything you can literally go and use one right now and see.