Rate This Document
Findability
Accuracy
Completeness
Readability

Introduction

The best practices described in this document demonstrate the functions of each tool of the Kunpeng DevKit. You can refer to these best practices when analyzing and optimizing your development projects in the Kunpeng DevKit. See Table 1.

Table 1 Best practices

Tool

Feature

Best Practice

Description

Porting Advisor

Software Porting Assessment

Practice 1: Scanning and Analyzing netty-all-4.1.34.Final

Netty is an NIO-based client and server programming framework.

Use the Kunpeng DevKit Porting Advisor for assessment before porting the Netty software package.

Practice 2: Assessing CMake Software Porting - Analyzing Software Packages

CMake is an open source, cross-platform family of tools designed to build, test, and package software.

Use the Kunpeng DevKit Porting Advisor for assessment before porting the CMake source package.

Practice 3: Assessing Ragel Software Porting - Analyzing Installed Software

Ragel is a finite-state machine compiler. It compiles regular expression–based state machines into parsers of traditional programming languages such as C, C++, D, Java, and Ruby.

Use the Kunpeng DevKit Porting Advisor to assess installed Ragel software, helping to port installed applications.

Source Code Porting

Practice 1: Porting Open Source Software smartdenovo-master

SMARTdenovo is a de novo sequence assembler for PacBio or Oxford Nanopore. It is open source software written in the C language.

Use the Kunpeng DevKit Porting Advisor to analyze the SMARTdenovo source package, helping to port applications.

Practice 2: Porting Megahit Source Code

Megahit is an ultra-fast and memory-efficient NGS assembler optimized for metagenomes.

Use the Kunpeng DevKit Porting Advisor to analyze the Megahit source package, helping to port applications.

Software Package Rebuild

Practice 1: Rebuilding the Open Source Kafka Software Package

Kafka is an open source streaming platform developed by Apache Software Foundation in Scala and Java.

Use the Kunpeng DevKit Porting Advisor to rebuild the Kafka software package.

Practice 2: Rebuilding the Hadoop Software Package

Apache Hadoop is an open source framework for efficiently storing and processing PB-scale datasets.

Use the Kunpeng DevKit Porting Advisor to rebuild the Hadoop software package.

Affinity Analyzer

Byte Alignment Check

Practice 1: Checking Byte Alignment of wtdbg Source Code

wtdbg is a fast and efficient genome algorithm written in C language.

Use the Kunpeng DevKit Affinity Analyzer to analyze development projects written in C language and provide modification suggestions for byte alignment.