BUY GO OPTIMIZATIONS 101 + GO DETAILS & TIPS 101 + GO GENERICS 101

Тема в разделе "Golang (Google Go)", создана пользователем admin, 13 июл 2024.

Этап:
Набор участников
Цена:
10.00 USD
Участников:
1 из ∞
Организатор:
admin
100%
Расчетный взнос:
10 USD
  • Участники покупки:
    1. admin;
  1. admin

    admin Administrator Команда форума

    GO OPTIMIZATIONS 101 + GO DETAILS & TIPS 101 + GO GENERICS 101

    Скриншот 13-07-2024 174339.jpg

    Скриншот 13-07-2024 174352.jpg

    Go Optimizations 101: This book provides some code performance optimization tricks, tips, and suggestions. Most of the contents in this book are made based on the official standard Go compiler and runtime implementation.

    Life is full of trade-offs, the programming world is, too. In programming, we often need to make trade-offs between code readability, maintainability, development efficiency, and program efficiency, etc. Even for one of the aspects, there are also trade-offs needing to be made. Taking program efficiency for an example, we might need to make trade-offs between memory saving, code execution speed, and implementation difficulty, etc.

    In practice, most parts of the code base of a project don't need to be implemented with high performances. Keeping them maintainable and readable is often more important (than making them memory saving and run very fast). The suggestions made in this book are just for the code parts which implementations really need to be high performant. Some of the suggestions often causes more verbose code. And please note that some of the suggested implementation might only be performant at some certain scenarios, and might be not at others.

    Go Details & Tips 101: This book collects many details and provides several tips in Go programming. The details and tips are categorized into

    1. syntax and semantics related
    2. conversions related
    3. comparisons related
    4. runtime related
    5. standard packages related
    Most of the details are Go specific, but several of them are language independent.

    Go Generics 101: Starting from version 1.18, Go has supported custom generics.

    This book talks about the custom generics feature of Go programming language. The content in this book includes:

    1. custom generic syntax
    2. type constraints and type parameters
    3. type arguments and type inference
    4. how to write valid custom generic code
    5. current implementation/design restrictions
    A reader needs to be familiar with Go general programming to read this book. In particular, readers of this book should be familiar with Go type system, including Go built-in generics, which and Go custom generics are two different systems.

    Currently, the book mainly focuses on the syntax of, and concepts in, custom generics. More practical examples will be provided when I get more experiences of using custom generics.

     
Similar Threads
  1. admin
    Ответов:
    0
    Просмотров:
    124
  2. admin
    Ответов:
    0
    Просмотров:
    84
  3. admin
    Ответов:
    0
    Просмотров:
    78
  4. admin
    Ответов:
    0
    Просмотров:
    80
Загрузка...