• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

aviatesk/juliacon2021-workshop-pkgdev: The repository for JuliaCon2021 workshop ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

aviatesk/juliacon2021-workshop-pkgdev

开源软件地址:

https://github.com/aviatesk/juliacon2021-workshop-pkgdev

开源编程语言:

Jupyter Notebook 99.4%

开源软件介绍:

Julia2021 Workshop – Package development: improving engineering quality & latency

Abstract

Julia holds immense promise for a composable package ecosystem. Potential obstacles to achieving this promise include missing methods for unanticipated types, unwitting type-piracy, poor performance due to inference failures, method ambiguities, and latency due to long compilation times and/or invalidation of previously-compiled code.

This workshop will tutor developers on the use of some of the tools available for improving package quality and reducing latency. We will begin by summarizing the factors that influence dispatch, inference, latency, and invalidation, and how monitoring inference provides a framework for detecting problems before or as they arise. We will then tutor attendees in the use of tools like MethodAnalysis, JET, Cthulhu, and SnoopCompile to discover, analyze, and fix detected problems in package implementation. We will also show how in addition to improving robustness, such steps can often streamline design and reduce latency.

This workshop is aimed at experienced Julia developers.

Prerequisites

For this workshop, we recommend you use Julia v1.7 or higher. You can download a prebuilt v1.7 binary or an nightly build. You can also use Julia built from the latest source.

If you've installed an appropriate Julia version, clone this repository and install the required packages with the following commands:

julia> pwd()    # check whether you're in this folder (if not, navigate here with `cd`)
"/home/user/path/to/juliacon2021-workshop-pkgdev"

julia> using Pkg

julia> Pkg.activate(@__DIR__)

julia> Pkg.instantiate()

If you have any errors involving PyPlot or PyCall, try this:

julia> ENV["PYTHON"]=""
julia> Pkg.build("PyCall")

Now you can run the workshop notebooks with:

julia> using IJulia

# # install Jupyter kernel if not exist
# julia> IJulia.installkernel(KERNEL_NAME)

julia> IJulia.notebook(; dir=@__DIR__)

Workshop Outline




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap