2025 GOPS 全球运维大会暨研运数智化技术峰会·上海站:基于Rust的Python现代运维_第1页
2025 GOPS 全球运维大会暨研运数智化技术峰会·上海站:基于Rust的Python现代运维_第2页
2025 GOPS 全球运维大会暨研运数智化技术峰会·上海站:基于Rust的Python现代运维_第3页
2025 GOPS 全球运维大会暨研运数智化技术峰会·上海站:基于Rust的Python现代运维_第4页
2025 GOPS 全球运维大会暨研运数智化技术峰会·上海站:基于Rust的Python现代运维_第5页
已阅读5页,还剩55页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

第27届全-2

sXOp025暨研运数智化技术峰会中国

·上海2025年10月17日-18日GOPS承办单位:H华佑科技指导单位:

品A品P上

站ANNIVERSARY2015-2025GOPS

2025

ShanghaiC开放运维联盟0OPSA

Open

OPSAliance高效运维社区GralOPSCcmmuntyBizDevOpsGOPS

2025ShanghaiRust-based

ModernPython

DevOps

Name:FengLi

(李枫) Date:Oct18,2025ANNIVERSARY2015-2025An

indie

developer

from

China◆

The

maintranslatorofthe

book《Gray

Hat

HackingThe

Ethical

Hacker's

Handbook,

Fourth

Edition》(ISBN:9787302428671)&《Linux

Hardening

in

Hostile

Networks,

FirstEdition》(ISBN:9787115544384)◆

Pure

software

developmement

for~15years(~11years

on

Mobile

dev)ActivelyparticipatingOpen

Source

Communities:/XianBeiTuoBaFeng2015/MySlidesRecently,focus

on

infrastructure

of

Cloud/Edge

Computing,Al,loT,Programming

Languages

&Runtimes,Network,Virtualization,RISC-V,EDA,5G/6G...Who

Am/恶意网络环境下的Linux防御之道磨+5Feng

Li(李枫)GOPS

全球运维大会暨研运数智化技术峰会2025·

上海站个人简介GOPS2025ShanghaiANNIVERSARY

2015-20251.BackgroundII.Switchingto

Rust-based

DevOps

tools

inPython

projectsII.RunningPythonprogramswith

RustPythonIV.Exploring

furtherintegrationof

Rust

&PythonV.Python

in

Rust-based

containerruntimesVI.Wrap-upGOPS

全球运维大会暨研运数智化技术峰会2025·上海站GOPS2025Shanghai◎

1◎2◎

3◎4◎

5◎6GOPS2025ShanghaiANNIVERSARY2015-2025ANNIVERSARY

2015-2025I.Background1)TechStack1.1

Python◆https://en.wikipe/wiki/Python_(programming_language)RankingGitHut

2.0ASMALL

PLACE

TO

DISCOVER

LANGUAGES

IN

GITHUB30%25%20%15%10%GOPS

全球运维大会暨研运数智化技术峰会2025·

上海站PULL

REQUESTS

STARS

PUSHES

ISSUESSource:https://madnight.github.io/githut/#/pull_requests/2024/15%0%2020一

JavaScript—Haskell二

Haxe—SystemVerilog

JetBrains

MPS一C++—GAP一

MLIR—

Ruby二

BicepTypeScrip

—Swift—MATLAB一

C—OCaml—Dart一

Python—F#GOPS2025

Shanghai—Go一

VerilogANNIVERSARY

2015-2025一

Groovy—Julla一

Java—RPullRequest二

Shellrk

me

oiWorldwide,Oct

2025Rank

Change

Language

Share

1-year

trend1

Python

28.97

-0.5%

%2

Java

13.94

-1.5

%

%3

C/C++

10.54

+3.6%

%4

Objective-C

7.05%+4.5%5

↓↓

JavaScript

6.33%

-1.7%6

R

5.27%

+0.6%7

↓↓

C#

3.96%

-2.5%8

PHP

3.19%-0.8%9

Swift2.93%

+0.3

%10

Rust

2.59%

-0.0%个个个个个Top

Programming

Languages2025Click

a

button

to

see

a

differently

weightedrankingSpectrum

TrendingJobsPythonJava

0.4986C++

0.3669SQL

0.3293C#

0.2888JavaScriptTypeScriptCShellGoRPHPKotlinRust0.2872

0.28070.27670.20960.18660.18140.15680.13160.1301GOPS

全球运维大会暨研运数智化技术峰会2025

上海站Source:https://spect/top-programming-languages-2025I.BackgroundSource:https://pypl.github.io/PYPL.htmlANNIVERSARY2015-2025GOPS2025ShanghaiGOPS

全球运维大会暨研运数智化技术峰会2025·上海站Oct

2025Oct

2024ChangeProgramming

LanguageRatingsChange11Python24.45%+2.55%24C9.29%+0.91%32C++8.84%-2.77%43Java8.35%-2.15%55C#6.94%+1.32%66JavaScript3.41%-0.13%77VisualBasic3.22%+0.87%88Go1.92%-0.10%910Delphi/Object

Pascal1.86%+0.19%1011SQL1.77%+0.13%119F

Fortran1.70%-0.10%1229众Perl1.66%+1.10%1317R

R1.52%+0.43%1415人php

PHP1.38%+0.17%1516人Assembly

language1.20%+0.07%1613SourceRustpage

Rust:/ti1.19%obe-index/-0.25%

I.BackgroundANNIVERSARY

2015-2025SQLPython

for

AI/ML:Key

Benefits

ComparisonBenefitKey

FeatureBusinessImpactAdoption

RateImplementationChallengesLibraryEcosystemSpecialized

Al

FrameworksVeryHigh94%ofAl

projectsVersioncompatibility,integrationIntuitive

SyntaxReadableCodeStructureHigh87%newAldevelopers

choosePythonPerformanceoptimizationDataScienceIntegrationUnifiedDataPipelineVeryHigh83%of

data

scientists

usePythonLarge-scaledatahandlingPerformanceOptimizationJITCompilation,GPUSupportHigh78%improved

over

2022ExpertknowledgerequiredFrameworkDiversityDomain-specific

SolutionsHigh85%ofspecializedAl

tasksFramework

selectioncomplexityCommunity

SupportKnowledgeResourcesVeryHigh94%questions

resolved

in24hrsInformationqualityvariesInteroperabilityMulti-platformSupportHigh91%ofhybrid

Al

systemsConfigurationcomplexityIndustry

AdoptionEnterpriseSolutionsVeryHigh89%ofFortune

500

AlLegacysystemintegrationWhy

Python

is

the

best

forArtificialIntelligence

andMachineLearning?pythonI.BackgroundPythoninAISource:https://orbittraining.ae/8-reasons-why-python-is-essential-for-ai-and-ml/GOPS

全球运维大会暨研运数智化技术峰会2025·

上海站GOPS2025ShanghaiANNIVERSARY

2015-2025I.Background1.2

Rust◆/wiki/Rust_(programming_language)RustFoundationGOPS全球运维大会暨研运数智化技术峰会2025·上海站themselvesasRustaceans(similartothe

wordcrustacean)and

haveadopted

an

orange

crab,Ferris,astheirunofficial

mascot.[192][193]https://www.rust-lang.orgWhy

Rust?Website

rust-lang.orgEInfluenced

byAlef,BETA,CLU,C#,C++,Cyclone,Elm,Erlang,Haskell,Hermes,Limbo,Mesa,Napier,Newsqueak,NIL,OCaml,Ruby,Sather,Scheme,StandardML,Swift[5][6]InfluencedIdris[7,ProjectVeronal8,SPARK9J,Swift[10,v[11,zig[12]ProductivityRust

has

great

documentation,a

friendlycompiler

with

useful

error

messages,andtop-notchtooling-an

integratedpackage

manager

and

build

tool,smartmulti-editorsupport

with

auto-completionandtypeinspections,an

auto-formatter,and

more.Concurrent,functional,generic,imperative

,structuredThe

RustTeamJanuary

19,2012;13

yearsago1.90.0[1]/September

18,2025;8days

agoAffine

,inferred

,nominal

,static,strongOCaml(2006-2011)

Rust(2012-present)Cross-platform[note1]Cross-platform[note

2]

MIT,Apache2.0[note3].rs,.rlibPerformanceRust

is

blazingly

fast

and

memory-efficient:with

no

runtime

or

garbagecollector,itcanpowerperformance-critical

services,run

onembeddeddevices,and

easily

integrate

with

other

languages.ParadigmsDeveloperFirst

appearedStable

releaseTypingdisciplineImplementation

languagePlatformOSLicenseFilenameFebruary8,2021;4years

agoAmazonWebServicesGoogleHuaweiMicrosoftMozilla

FoundationNonprofitorganizationUnitedStatesShane

MillerRebecca

Rumbulfoundation.rust-lang.orgEReliabilityRust's

rich

type

system

and

ownershipmodel

guarantee

memory-safety

andthread-safety-enablingyoutoeliminatemany

classes

of

bugs

at

compile-time.FormationFoundersTypeLocationChairpersonExecutiveDirectorWebsiteANNIVERSARY

2015-2025extensionsShanghaiRust·krustlet/krustlet:KubernetesRustKubelet·kube-rs/controller-rs:aKubernetesexamplecontroller·kube-rs/version-rs:exampleKubernetesreflectorandwebserver·kubewarden/policy-server:webhookserver

that

evaluates

WebAssemblypolicies

to

validate

Kubernetes

requests·linkerd/linkerd2-proxy:

apurpose-builtproxyfortheLinkerdservicemesh·openebs/mayastor:Acloudnativedeclarative

dataplanein

containers

for

containers·rancher-sandbox/lockc:eBPF-basedMACsecurity

audit

for

container

workloads·tikv/tikv:distributedtransactionalkey-value

database·

tremor-rs/tremor-runtime:aneventprocessingsystem

that

supporting

complex

workflows

such

asaggregation,rollups,an

ETL

language,and

a

query

language·valeriansaliou/sonic:

fast,lightweight&schema-lesssearchbackend·WasmEdge/WasmEdge:

WasmEdgeisahigh-performanceWebAssembly(Wasm)VirtualMachine(VM)runtime,whichenablesserverlessfunctions

to

be

embedded

into

any

software

platform;fromcloud's

edge

to

SaaS

to

automobilesApplications

and

Services·apache/incubator-teaclave:

opensourceuniversalsecurecomputingplatform,making

computation

onprivacy-sensitivedatasafeandsimple·bottlerocket-os/bottlerocket:anoperatingsystemdesignedforhostingcontainers·containers/krunvm:managelightweightVMscreatedfromOClimages·containers/youki:acontainerruntimewritteninRust·datafuselabs/datafuse:AModernReal-Time

Data

Processing&Analytics

DBMSwith

Cloud-NativeArchitecture,built

tomaketheDataCloudeasy·firecracker-microvm/firecrackersecureandfastmicroVMsforserverlesscomputing·infinyon/fluvio:Cloud-nativereal-timedata

streamingplatformwithin-linecomputation

capabilitiesLibraries·CNI

Plugins:

crate/frameworktowriteCNI(containernetworking)pluginsin

Rust

(includes

afew

customplugins

aswell)·containers/libkrun:adynamiclibraryprovidingVirtualization-basedprocess

isolationcapabilities·kube-rs/kube-rs:

Kubernetes

Rustclientandasynccontrollerruntime·qovery/engine:

Qovery

Engineisanopen-sourceabstractionlayer

librarythatturns

easy

apps

deploymentonAWS,GCP,Azure,andotherCloudprovidersinjustafew

minutes·

open-telemetry/opentelemetry-rustOpenTelemetryisasetofAPls,SDKs,toolingandintegrationsthataredesignedforthecreationandmanagement

oftelemetry

data

such

astraces,

metrics,andlogs.GOPS

全球运维大会暨研运数智化技术峰会2025

·上海站RustCloudNative◆https://rust-cloud-native.github.io/I.BackgroundGOPS2025

ShanghaiANNIVERSARY

2015-2025●Rust98.3%●Python1.6%

·

秋RunsandinstallstoolspublishedasPythonpackages.

llh

.0%

Mu

ll00.

·Includesa

pip-compatible

interface

fora

performance

boostwith

afamiliar

CLI.Installation

·SupportsCargo-style

workspacesforscalable

projects.·HDisk-spaceefficient,withaglobalcache

fordependencydeduplication.Installuv

with

our

standalone

installers:

·

B

Installable

without

Rust

or

Python

via

cur1

or

pip.l

m-

f

a

tt

sin:

.stral.sh/uv/install.sh

|sh

·

Supports

macOS,Linux,and

Windows.uvisbacked

by

Astral,the

creators

ofRuff.#On

Windows.powershell-ExecutionPolicyByPass-c"irm

https://astral.sh/uv/install.ps1|iex"pLhndSssc0LaurOnc#0%0%eehhscNustale

0.1%fi0BatcShe●●Highlights·aAsingletooltoreplacepip,pip-tools,pipx,poetry,pyenv,twine,virtualenv,andmore.·

10-100xfaster

than

pip.·Provides

comprehensiveproject

management,witha

universal

lockfile.·Runsscripts,withsupportforinlinedependencymetadata.·

Installsand

managesPythonversions.I.Background1.3

Rust-basedtoolsforPythondevelopment/astral-sh/uvAn

extremely

fastPythonpackageandprojectmanager,writteninRust.uv

|

0.06spoetry

0.99spdm

1.90spip-syncOs2s

4sInstallingTriosdependencies

witha

warm

cache.LanguagesGOPS

全球运维大会暨研运数智化技术峰会2025·

上海站[mydev22@koogmk-k8plus-1/]$uvselfupdateinfo:Checking

for

updates...success:

Upgradeduv

from

v0.8.23to

v0.8.24!/astral-sh/uv/releases/tag/0.8.24[mydev22akoogmk-k8plus-1/]$1.3.1

UVGOPS2025

ShanghaiANNIVERSARY

2015-2025◆4.63sGOPS

全球运维大会暨研运数智化技术峰会2025·

上海站my_ros2_project十

.gitattributes一

.gitignore

pixi.tomlThe

pixi.toml

file

is

the

manifest

file

for

your

workspace.It

should

look

like

this:pixi.toml[workspace]name=

"my_ros2_project"version

=

"0.1.0"description=

"Add

a

short

description

here"authors=["User

Name

<user.name@email.url>"]channels

=["robostack-humble","conda-forge"]#Your

project

can

support

multiple

platforms,the

current

platform

will

be

automaplatforms

=["Linux-64"][tasks][dependencies]Source:https://pixi.sh/latest/tutorials/ros2/Builtin

CoreFeaturesPixiCondaPipPoetryuvInstalls

Python☑□××☑SupportsMultipleLanguages☑☑×××Lockfiles☑××☑☑Taskrunner☑××××WorkspaceManagement☑××☑☑/prefix-dev/pixipixicondapackagemanagementsimplified★Install

packages

globally

or

per-project★Simplified

project

management

&auto-lockfilecreation★

Cross-platform,blazinglyfast,writtenin

Rust

C

国Languages●

Rust

89.6%●Python

9.9%●

Shell

0.3%●PowerShell0.2%●

Batchfile

0.0%●

HTML

0.0%Create

a

Pixi

workspacepixi

init

my_ros2_project-c

robostack-humble

-c

conda-forgecd

my_ros2_projectItshouldhavecreated

adirectory

structure

like

this:I.Background1.3.2

PixiWhat

isthedifferencewith

Pixi?Source:https://pixi.sh/APrefix.devprojectANNIVERSARY

2015-2025◆1001010########mise:inmise:ruecho

"evmise:ru[mydev22[mydev22/.Local/bin/mise[mydev22·Like

direnv

it·Like

make

it[mydev22%Totalmise:installing

mise...@koogmk-k8plus-1/]$curl%Received%Xferdhttps://mise.runAverage

Speed|shTimeTotalTimeSpentTimeLeftCurrentSneedJ420040100155

p0

100101000

0Source:/community/guides/scaling-nodejs/mise-VFeature

mise

asdfInstallationmethod

Singlebinary,packagemanagersGitclone,shellsourcingPlugincompatibilityUsesasdf

pluginsNativeplugin

systemBuit-in

languagesNode,Python,Ruby,othersRequiresplugins

foreverythingEnvironmentvariablesNative

support(replaces

direnv)Requiresseparate

toolsTaskrunnerBuilt-intask

systemNone,usemakeor

similarConfigurationfilesMultipleformats(.mise.toml,tool-.tool-versionsversions)Shell

integrationAutomaticactivationManualshell

configurationLegacyprojectsupportReads.tool-versionsfilesNative

formatCommunity

sizeGrowing,newerprojectLarge,establishedcommunityBreakingchangesMorefrequentupdatesStable,carefulchangesImplementationRustGo(as

of

v0.16.0)################################################################100.0%stalledsuccessfullyto

/home/mydev22/.Local/bin/misen

the

folLowing

to

activate

mise

in

your

shell:a

l\

"

\

$(

/

h

o

m

e

/

m

y

d

e

v

2

2

/

.

l

o

c

a

l

/

b

i

n

/

m

i

s

e

a

c

t

i

v

a

t

eb

a

s

h

)

\

"

"

>

~

/

.

b

a

s

h

r

cn

'mise

doctor

to_verify

this

is

setup

correctlyekoogmk-k8plus-1/7@koogmk-k8plus-1/]$which@koogmk-k⁸plus-1/]$misemiseversionby

@jdx9linux-x64(2025-09-25)2akoogmk-k8plus-1/]$I.Background1.3.3

Mise◆https://github.com/jdx/miseWhat

is

it?2025.9.[mydev2[mydev22@CheckingCheckingCheckingmise

releasestatus:★

Curr

New*NewThe

newDo

youwDownloading.VerifyingNew

release

found!v2025.New

release

is

compatiblekoogmk-k8plus-1/]$mise

self-updatetarget-arch...mise-v2025.10.10-Linux-x64.tar.gzcurrent

version...v2025.10.9latest

released

version.10.9--ent

exe:"/home/mydev22/.localexe

release:"mise-V2025.1exedownload

url:"httpsrelease

will

be

downloaded/eantto

continue?[Y/n]Yarchived

file..Donemise

to2025.ekoogmk-k8plus-1/]$Ⅱes/assets/305076787"ll

be

replaced./23.54MiB(0s)DoneLanguages●

Rust

78.0%●Shell15.3%●

TypeScript4.2%

·Lua1.0%●

PowerShell0.7%·

Python

04%

Other

0.4%·Like

asdf

(or

nvm

or

pyeny

but

for

any

language)it

manages

dev

tools

like

node,python,cmake,teraform,GOPS

全球运维大会暨研运数智化技术峰会2025·

上海站manages

environmentvariables

tasks

used

to

build

andfor

different

project

test

projects.and

hundredsANNIVERSARY

2015-2025GOPS

2025

Shanghaidirectories.S-asdf/managesonlymydeev22more.IBelow

isaltoftheavallable

backends

in

mise:·

asdf

(provide

tools

through

plugins)·aqua·cargo·dotnet

experirental·gem·github·gltlab

experimental·go

experlmerntal·

http·npm·plpx·

spmCprimonta·ubi·vfox

(providetoolsthroughplugins)

axpeimental·custom

backends

(buld

your

own

backend

with

a

plugin

which

itself

provides

manytools)

cxperimSource:https://mise.jdx.dev/dev-tools/backends/4.Usetoolsfrombackends(npm,pipx,core,aqua,github)ToolsBackendscore:nodecorecore:pythonaqua:cli/cliaquaaqua:hashicorp/terraformgithub:BurntSushi/ripgrepgithubgithub:astral-sh/

ruffnpm:prettiernpmnpm:@anthropic-ai/claude-codepipx:blackPipxPipx:pycowsaySource:https://mise.jdx.dev/getting-started.htmlI.BackgroundHowitworks[mydev22@koogmk-k8plus-1/]$mise

--helpmise

manages

dev

tools,env

vars,and

runs

tasks.https://qithub,com/jdx/miseUsage:mise[OPTIONS][TASK][COMMAND]activate

Initializesmise

in

the

current

shell

sessioncache

Managethe

mise

cachedeactivateDisablemise

for

current

shell

sessionctor

C[

rim

l]sti

ll

io

ew

f

rhellp

ti

le

thepr

senvi[

s

e:

t]

built

from

the

current

configurationenv

Exports

env

vars

to

activate

mise

a

single

time

[aliases:e]exec

Execute

a

command

with

tool(s)set[aliases:x]fmt

Formats

mise.tomlgenerate

[experimental]Generate

files

for

various

tools/services[aliases:gen]installinstall-i

nto

sck

pisd

teinsl

f

ks

ivean

ooUl

rs

rns

all[ali

ie:

st]platformsLs-remote

ul

ai

d

Sexperimentaed

Run

Modes

Context

Protocol(MCP)server i

try

List

available

tools

to

installsearch

Sear英cAh-

for

olsit

li

the

registryset

Set

environmentvariablesinmise.tomlsync

Synchronize

tools

from

other

versionmanagers

with

misetool

Getsinformation

abouta

tooltool-stubExecute

a

tool

stubuninstalLRemovesinstalledtoolversionsunuse

Removesinstalledtoolvers

ionsfrom

mise.toml

[aliases:rm,remove]upgrade

Upgradesoutdated

tools[aliases:up]use

Installs

a

tool

and

adds

the

version

to

mise.toml.[aliases:u]watch

Run

task(s)and

watch

forchangesto

rerun

it[aliases:W]which

Showsthepaththat

a

tool's

bin

points

to.Arguments:[TASK]Task

torun.Shorthand

for

‘mise

task

run<TASK>`tnmtseregprunnstegdutcppomlidsfeciasspeiofoveRLstdactumsdcancheeiltallocktaLULomesronaliaseemilhbwiosssonnaatartsnstataeemexpehecknoself-updatesettings

Manage

settingsshell

Sets

a

tool

version

for

the

current

session.[aliases:sh]GOPS

全球运维大会暨研运数智化技术峰会2025·上海站reshim

Creates

new

shims

based

on

bin

paths

from

currently

installed

tools.alias

Manage

version

aliases.[aliases:a]bai

k-

tshs

i

tnag

ll

t

ck

e

r[

i

:b]bin

pathsmesesuntaliativdscnaeeahbaesaLMandpenchelp

Print

this

message

or

the

help

of

the

given

subcommand(s)vers

ion

Display

the

version

of

mise

[aliases:vunset

Remove

environment

variable(s)from

the

config

file.tasks

Manage

tasks

[aliases:t]test-tool

Test

a

tool

installs

and

executestrust

Marks

a

configfile

astrustedcompletion

Generate

shell

completionsconfig

Manage

config

files

[aliases:cfg]where

Display

the

installation

path

for

a

toolrun

Run

task(s)[aliases:r]GOPS2025ShanghaiANNIVERSARY

2015-2025latestimplodeCommands:1.4.1

RustPython◆https://rustpython.github.io/RustPythonAnopensource

Python3(CPython>=3.11.0)interpreterwrittenin

Rust

@Python↓RustPython→

Pythonembedded

in

Rustapps↓WebAssembly

PythonontheWebRustPython

isa

Python

interpreterwritten

in

Rust.RustPythoncan

beembeddedFull

Python3environmententirelyin

Rust(not

CPythonbindings),with

a

clean

implementation

and

no

compatiblityhacks.Fast,reliable

and

secure

implementation

of

Pythonthat

canbe

used

from

Rust

or

compiled

to

WebAssembly.I.Background1.4

Rust-based

Python

implementationsinto

Rust

programsto

use

Python

as

a

scripting

languageforyourapplication,or

it

can

be

compiled

to

WebAssembly

in

order

to

run

Python

in

the

browser.RustPython

is

free

and

open-source

under

the

MIT

license.GOPS

全球运维大会暨研运数智化技术峰会2025·上海站GOPS2025

ShanghaiANNIVERSARY

2015-2025GoalsSourcecodeParserRustPythonTokenizesourcecodeValidatetokensCreateASTASTCompilerConvertsASTtobytecodeBytecodeVMExecutesbytecodegiven

InputinputCodegetsexecutedHowitworks◆/RustPython/RustPythonWASIYou

can

compile

RustPython

to

a

standalone

WebAssembly

WASI

module

so

it

can

run

anywhere.Buildcargo

build--target

wasm32-wasip1--no-default-features

--features

freeze-stdlib,stdlib--releaseRun

by

wasmerwasmerrun--dirpwd'--target/wasm32-wasip1/release/rustpython.wasmpwd'/extra_tests/snippets/stdlibRunby

wapm$wapm

install

rustpython$wapm

run

rustpython>>>>>2+24Buildingthe

WASl

fileYou

can

build

the

WebAssembly

WASI

file

with:JIT(Just

intime)compilerRustPythonhasaveryexperimentalJITcompilerthatcompile

pythonfunctions

into

nativecode.BuildingBy

default

the

JIT

compiler

isn't

enabled,it's

enabled

with

the

jit

cargo

featurecargo

run

--features

jitThisrequiresautoconf,automake,libtool,andclangtobe

installed.def

foo():return

18+

afoo.jit_()#this

will

compile

foo

to

native

code

and

subsequent

calls

will

execute

that

native

assert

foo()

==15I.BackgroundNote:weusethe

freeze-stdlib

to

include

the

standard

library

inside

the

bii

rustuptarget

add

wasm32-wasip1.Source:/RustPython/RustPython/blob/main/architecture/architecture.mdGOPS

全球运维大会暨研运数智化技术峰会2025·上海站UsingTo

compile

a

function,call_jit_()on

it.cargo

build--release

--target

wasm32-wasip1--features="fr

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论