Tag:Compile into

  • Keep having a fever. Talk about the static compilation of dart language. Can you challenge go?

    Time:2022-7-18

    preface I wrote several articles and talked about them two days agoDartAdvantages of doing back-end development, such as: “Dart development server, am I feverish?” Continue to have a fever, try the asynchronous operation of dart language, and the efficiency will be improved by 500% “Continuous fever, talk about the concurrent processing of dart language, can […]

  • [CGO] C source code is compiled into a dynamic library for go program calls (Linux environment, arm architecture running platform)

    Time:2022-6-23

    Dynamic library compilation 1. install and configure the cross compilation tool chainThere are detailed tutorials on the Internet 2.go env environment configuration go env -w CGO_ENABLED=1 go env -w GOOS=linux go env -w GOARCH=arm go env -w CC=…-gcc go env -w CXX=…-gcc CC and cxx configure GCC and G as their own compilation tools++It can […]

  • Solve the problem of huge CPU consumption when opening idea

    Time:2022-6-20

    My idea version is 2021.2.3, and the actual measurement solves the problem Before changing the configuration: After modification: The method is as follows: Then replace the configuration parameters inside: -Xms4096m -Xmx4096m -Xmn3072m -XX:MetaspaceSize=1024m -XX:MaxMetaspaceSize=1024m -XX:+AlwaysPreTouch -XX:InitialCodeCacheSize=1200m -XX:ReservedCodeCacheSize=1200m -XX:+UseCompressedOops -Dfile.encoding=UTF-8 -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=4 -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -XX:TieredStopAtLevel=1 -XX:MaxInlineLevel=3 -XX:Tier4MinInvocationThreshold=100000 -XX:Tier4InvocationThreshold=110000 -XX:Tier4CompileThreshold=120000 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes=”” -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf […]

  • What are the basic typescript types

    Time:2022-6-15

    Tools for compiling TS into JS npm install -g typescriptUse command: tsc example.ts Tools that execute TS code but do not compile 1. Nodemon. It will be executed as long as the code is saved. It is recommended Installation: “ ` NPM intall -g nodemon“` Use: “ ` nodemon example ts “` 2. TS node, […]

  • Data type of SASS

    Time:2022-6-10

    The sass language supports the following data types: numbers: indicates the integer type. strings: in single quotation marks”Or double quotation marks””Character sequence defined in. booleans: Boolean type, withtrueandfalseTwo values. colors: used to define color values. nulls: specifies a null value, which is unknown data. lists: a value list type that represents values separated by spaces […]

  • Sass @media instruction

    Time:2022-6-5

    In this section, we learn [email protected],@mediaThe command is used to set the style rules to different media types, which is similar to the use rules of CSS, but it is also [email protected] can be nested in sass selectors. It is similar to the JS bubble function, which bubbles to the top of the stylesheet. @Use […]

  • Sass digital function

    Time:2022-6-1

    In this section, let’s take a look at the number functions in sass. Just like the string functions are mainly used for strings, the number functions in sass are mainly used for processing numeric values. Common numeric functions: function describe abs() Returns the absolute value of a numeric value ceil() Round up floor() Round down […]

  • Sass mapping function

    Time:2022-5-30

    In this section, let’s take a look at the mapping function in sass. The mapping in sass consists of key/value pairs. The mapping is immutable, so when we operate on the mapping, we will not modify it in the original mapping, but return a new mapping object. function describe map-get() Returns the value corresponding to […]

  • Sass selector function

    Time:2022-5-29

    In this section, let’s take a look at the selector function in sass, which is used to view and process selectors. Selector functions commonly used in sass: function describe is-superselector() Compare the matching ranges of the two selectors, and return true if they match; otherwise, return false selector-append() Add one (or more) selectors after the […]

  • Sass introduction function

    Time:2022-5-28

    In this section, let’s take a look at the introspection function in sass. The introspection function is generally used for code debugging. Common introduction functions: function describe call() Dynamically call a type-of() Returns the type of a value function-exists() Detects whether the specified function exists global-variable-exists() Check whether a global variable is defined inspect() Returns […]

  • Sass color function

    Time:2022-5-27

    In this section, let’s take a look at the color function in sass. The color function can be divided into three parts: color setting, color acquisition and color operation. There are many color functions in sass. Let’s look at some commonly used color functions in sass: function describe rgb() Create a red green blue (RGB) […]

  • Burst the liver for three days, learn SCSS – read this article is enough

    Time:2022-5-24

    preface Today is different from the past. We can only cut pictures by ourselves! stayJavasScripWhen the frame was flying all over the sky, the front end was one of the three board axesCSSAlso gushed forward and backwardSass、Less 、StylusEtcCSSPreprocessing framework. Today we are going to talk about the big brotherSassUpgraded version ofScss,ScssIt provides us with a […]