Suche senden
Hochladen
Embedding mruby into c and an actual example
•
0 gefällt mir
•
806 views
Minqi Pan
Folgen
Embedding mruby into c and an actual example
Weniger lesen
Mehr lesen
Technologie
Melden
Teilen
Melden
Teilen
1 von 23
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Verslag #md12 social media symposium NIFV
Verslag #md12 social media symposium NIFV
Twittercrisis
Henrik Juuls torsdagsforelæsning på ASB 25/11-2010
Henrik Juuls torsdagsforelæsning på ASB 25/11-2010
Johan Damgård
Femoral vs Radial: A Critical Appraisal of the Evidence
Tremmel J 201305
Tremmel J 201305
International Chair on Interventional Cardiology and Transradial Approach
Presentation at ESERA Conference 2013. Cyprus
One to one Science classrooms in Secondary Schools: Current status analysis. ...
One to one Science classrooms in Secondary Schools: Current status analysis. ...
Carme Grimalt Álvaro
Aula #67
Bitcoin
Bitcoin
cendoo1
Aula #67
Miasteczko Multimedialne
Miasteczko Multimedialne
cendoo1
4 Ep 4 Eg
4 Ep 4 Eg
pinotblogger
GPIO programming on arm7-lpc2148, basic: get started with ARM programming, how to write lpc2148 program
ARM7-Lpc2148 gpio programming
ARM7-Lpc2148 gpio programming
fivesquare
Empfohlen
Verslag #md12 social media symposium NIFV
Verslag #md12 social media symposium NIFV
Twittercrisis
Henrik Juuls torsdagsforelæsning på ASB 25/11-2010
Henrik Juuls torsdagsforelæsning på ASB 25/11-2010
Johan Damgård
Femoral vs Radial: A Critical Appraisal of the Evidence
Tremmel J 201305
Tremmel J 201305
International Chair on Interventional Cardiology and Transradial Approach
Presentation at ESERA Conference 2013. Cyprus
One to one Science classrooms in Secondary Schools: Current status analysis. ...
One to one Science classrooms in Secondary Schools: Current status analysis. ...
Carme Grimalt Álvaro
Aula #67
Bitcoin
Bitcoin
cendoo1
Aula #67
Miasteczko Multimedialne
Miasteczko Multimedialne
cendoo1
4 Ep 4 Eg
4 Ep 4 Eg
pinotblogger
GPIO programming on arm7-lpc2148, basic: get started with ARM programming, how to write lpc2148 program
ARM7-Lpc2148 gpio programming
ARM7-Lpc2148 gpio programming
fivesquare
.
ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 6.3 (ΕΚΤΥΠΩΣΗ)
ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 6.3 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
Α.ΠΙΝΑΚΕΣ 1) Μονοδιάστατοι Πίνακες 1.1) Γενικά 1.2) Δήλωση Πίνακα 1.3) Παράδειγμα και Απεικόνιση στη Μνήμη 1.4) Πρόσβαση και Επεξεργασία Στοιχείων Πίνακα 1.5) Εντολές Επανάληψης και Μονοδιάστατοι Πίνακες 2) Διδιάστατοι Πίνακες 2.1) Δήλωση Πίνακα 2.2) Παράδειγμα και Απεικόνιση στη Μνήμη 2.3) Επεξεργασία Στοιχείων Πίνακα 3) Πολυδιάστατοι Πίνακες 3.1) Τριδιάστατοι Πίνακες 3.2) Μεγαλύτερης Διάστασης Πίνακες 4) Στατικοί Πίνακες 4.1) Δήλωση Μεγέθους Πίνακα μέσω Σταθεράς Β.ΣΥΝΗΘΕΙΣ ΑΛΓΟΡΙΘΜΟΙ ΠΙΝΑΚΩΝ 1) Ελάχιστο Στοιχείο Πίνακα 1.1) Άθροισμα Στοιχείων Πίνακα 1.2) Αντιγραφή Πινάκων 2) Αναζήτηση Στοιχείου σε Πίνακα 2.1) Σειριακή Αναζήτηση Στοιχείου 2.2) Δυαδική Αναζήτηση Στοιχείου 3) Ταξινόμηση Πινάκων 3.1) Ταξινόμηση με Επιλογή (Selection Sort) 3.2) Ταξινόμηση με Εισαγωγή (Insertion Sort) 3.3) Ο αλγόριθμος της φυσαλίδας (Bubble Sort) 3.4) …και άλλοι αλγόριθμοι ταξινόμησης! Γ. ΑΣΚΗΣΕΙΣ 1) Μέσος Όρος Στοιχείων Πίνακα 2) Μέγιστος και 2ος Μέγιστος Αριθμός 3) Μέγιστος Διδιάστατου Πίνακα 4) Ανάστροφος Πίνακα 5) Άθροισμα Διδιάστατων Πινάκων 6) Γινόμενο Διδιάστατων Πινάκων
ΠΛΗ10 ΜΑΘΗΜΑ 2.5 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΜΑΘΗΜΑ 2.5 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
Nina Nissilä - Valtiokonttori 14.6.2018 @ CXPA Finland Kesäjuhlat
02 Digitaalinen asiakaskokemus - olemmeko valmiita siihen - Nina Nissilä - Va...
02 Digitaalinen asiakaskokemus - olemmeko valmiita siihen - Nina Nissilä - Va...
Customer Experience Professionals Association
Evaluación de desempeño y rendimiento de una Organización Social
Clase6
Clase6
Eduardo Alberto Díaz
how to make some money pocket right through internet
the essential guide to 8share
the essential guide to 8share
Yankie PaPa
The Best and Worst things brought to us [mostly] by the Internet in 2011. Compiled and opined by the Content Dept. at BFG Communications.
Best and Worst of 2011
Best and Worst of 2011
Social Media Club Savannah
ΣΤΟΙΒΑ
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 2 - ΕΚΤΥΠΩΣΗ
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 2 - ΕΚΤΥΠΩΣΗ
Dimitris Psounis
lpc2148 user peripherals-ADC,DAC,interrupts,i2c,spi,rtc...etc
Lpc2148 user peripherals
Lpc2148 user peripherals
fivesquare
introduction to artificial intelligence Kecerdasan buatan
Minggu1 introduction to artificial intelligence
Minggu1 introduction to artificial intelligence
Muhammad Randy Mandala Putra
Carême saint laurent
Carême saint laurent
paroissesaintlaurent
Heat Treatment 2
Heat Treatment 2
Student Wilsonsbiologylab
Præsentation af unge spejdere i forbindelse med en workshop om udvikling af en spejderdel til Blå Sommers webkommunikation.
Unge spejdere 12-16 år og deres mediebrug
Unge spejdere 12-16 år og deres mediebrug
Det Danske Spejderkorps
offline data entry projects
Health insurance 5 pc
Health insurance 5 pc
Josoft Technologies Pvt. Ltd.
Α. Θεωρία 1. Κλάσεις 1.1 Γενικά 1.2 Ορισμός Κλάσης 1.3 Δημόσια (public) στοιχεία της κλάσης 1.4 Ιδιωτικά (private) στοιχεία της κλάσης 1.5 Παράδειγμα (προδιαγραφές) 2 Περισσότερα για τις κλάσεις 2.1 Ορισμός Συναρτήσεων έξω από την Κλάση 2.2 Παρουσίαση Ιδιωτικών – Δημόσιων Μέλων μιας κλάσης 2.3 Χωρισμός σε Αρχεία 3. Ειδικές Μεθόδοι Κλάσεων 3.1 Γενικά 3.2 Κατασκευαστής (constructor) 3.3 Καταστροφέας (destructor) 3.4 Ελεγκτές Πρόσβασης (accessors) B. Ασκήσεις
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Dimitris Psounis
Le careme 2013 à saint laurent
Le careme 2013 à saint laurent
paroissesaintlaurent
Detox
Detox
Tara Puckey
management
Place gouvernance si_dans_gouvernance_generale
Place gouvernance si_dans_gouvernance_generale
AHMED ENNAJI
Uaesw explained Portrait
Uaesw explained Portrait
nimameeja
South Amboy Receives $725 Million in Grants (The Suburban)
South Amboy Receives $725 Million in Grants (The Suburban)
Jacqueline Durett
The slip phenomena in thin polymer films confined by either flat or periodically corrugated surfaces are investigated by molecular dynamics and continuum simulations. For atomically flat surfaces and weak wall-fluid interactions, the shear rate dependence of the slip length has a distinct local minimum which is followed by a rapid increase at higher shear rates. For corrugated surfaces with wavelength larger than the radius of gyration of polymer chains, the effective slip length decays monotonically with increasing corrugation amplitude. At small amplitudes, this decay is reproduced accurately by the numerical solution of the Stokes equation with constant and rate-dependent local slip length. When the corrugation wavelength is comparable to the radius of gyration, the continuum predictions overestimate the effective slip length obtained from molecular dynamics simulations. The analysis of the conformational properties indicates that polymer chains tend to stretch in the direction of shear flow above the crests of the wavy surface.
Modeling the effect of surface roughness on slip flow in nanoscale polymer films
Modeling the effect of surface roughness on slip flow in nanoscale polymer films
Nikolai Priezjev
Tracing a memory leaki in a long-running eventmachine application
Tracing a memory leaki in a long-running eventmachine application
Tracing a memory leaki in a long-running eventmachine application
Minqi Pan
C++ 11
C++ 11
C++ 11
Minqi Pan
Weitere ähnliche Inhalte
Was ist angesagt?
.
ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 6.3 (ΕΚΤΥΠΩΣΗ)
ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 6.3 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
Α.ΠΙΝΑΚΕΣ 1) Μονοδιάστατοι Πίνακες 1.1) Γενικά 1.2) Δήλωση Πίνακα 1.3) Παράδειγμα και Απεικόνιση στη Μνήμη 1.4) Πρόσβαση και Επεξεργασία Στοιχείων Πίνακα 1.5) Εντολές Επανάληψης και Μονοδιάστατοι Πίνακες 2) Διδιάστατοι Πίνακες 2.1) Δήλωση Πίνακα 2.2) Παράδειγμα και Απεικόνιση στη Μνήμη 2.3) Επεξεργασία Στοιχείων Πίνακα 3) Πολυδιάστατοι Πίνακες 3.1) Τριδιάστατοι Πίνακες 3.2) Μεγαλύτερης Διάστασης Πίνακες 4) Στατικοί Πίνακες 4.1) Δήλωση Μεγέθους Πίνακα μέσω Σταθεράς Β.ΣΥΝΗΘΕΙΣ ΑΛΓΟΡΙΘΜΟΙ ΠΙΝΑΚΩΝ 1) Ελάχιστο Στοιχείο Πίνακα 1.1) Άθροισμα Στοιχείων Πίνακα 1.2) Αντιγραφή Πινάκων 2) Αναζήτηση Στοιχείου σε Πίνακα 2.1) Σειριακή Αναζήτηση Στοιχείου 2.2) Δυαδική Αναζήτηση Στοιχείου 3) Ταξινόμηση Πινάκων 3.1) Ταξινόμηση με Επιλογή (Selection Sort) 3.2) Ταξινόμηση με Εισαγωγή (Insertion Sort) 3.3) Ο αλγόριθμος της φυσαλίδας (Bubble Sort) 3.4) …και άλλοι αλγόριθμοι ταξινόμησης! Γ. ΑΣΚΗΣΕΙΣ 1) Μέσος Όρος Στοιχείων Πίνακα 2) Μέγιστος και 2ος Μέγιστος Αριθμός 3) Μέγιστος Διδιάστατου Πίνακα 4) Ανάστροφος Πίνακα 5) Άθροισμα Διδιάστατων Πινάκων 6) Γινόμενο Διδιάστατων Πινάκων
ΠΛΗ10 ΜΑΘΗΜΑ 2.5 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΜΑΘΗΜΑ 2.5 (ΕΚΤΥΠΩΣΗ)
Dimitris Psounis
Nina Nissilä - Valtiokonttori 14.6.2018 @ CXPA Finland Kesäjuhlat
02 Digitaalinen asiakaskokemus - olemmeko valmiita siihen - Nina Nissilä - Va...
02 Digitaalinen asiakaskokemus - olemmeko valmiita siihen - Nina Nissilä - Va...
Customer Experience Professionals Association
Evaluación de desempeño y rendimiento de una Organización Social
Clase6
Clase6
Eduardo Alberto Díaz
how to make some money pocket right through internet
the essential guide to 8share
the essential guide to 8share
Yankie PaPa
The Best and Worst things brought to us [mostly] by the Internet in 2011. Compiled and opined by the Content Dept. at BFG Communications.
Best and Worst of 2011
Best and Worst of 2011
Social Media Club Savannah
ΣΤΟΙΒΑ
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 2 - ΕΚΤΥΠΩΣΗ
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 2 - ΕΚΤΥΠΩΣΗ
Dimitris Psounis
lpc2148 user peripherals-ADC,DAC,interrupts,i2c,spi,rtc...etc
Lpc2148 user peripherals
Lpc2148 user peripherals
fivesquare
introduction to artificial intelligence Kecerdasan buatan
Minggu1 introduction to artificial intelligence
Minggu1 introduction to artificial intelligence
Muhammad Randy Mandala Putra
Carême saint laurent
Carême saint laurent
paroissesaintlaurent
Heat Treatment 2
Heat Treatment 2
Student Wilsonsbiologylab
Præsentation af unge spejdere i forbindelse med en workshop om udvikling af en spejderdel til Blå Sommers webkommunikation.
Unge spejdere 12-16 år og deres mediebrug
Unge spejdere 12-16 år og deres mediebrug
Det Danske Spejderkorps
offline data entry projects
Health insurance 5 pc
Health insurance 5 pc
Josoft Technologies Pvt. Ltd.
Α. Θεωρία 1. Κλάσεις 1.1 Γενικά 1.2 Ορισμός Κλάσης 1.3 Δημόσια (public) στοιχεία της κλάσης 1.4 Ιδιωτικά (private) στοιχεία της κλάσης 1.5 Παράδειγμα (προδιαγραφές) 2 Περισσότερα για τις κλάσεις 2.1 Ορισμός Συναρτήσεων έξω από την Κλάση 2.2 Παρουσίαση Ιδιωτικών – Δημόσιων Μέλων μιας κλάσης 2.3 Χωρισμός σε Αρχεία 3. Ειδικές Μεθόδοι Κλάσεων 3.1 Γενικά 3.2 Κατασκευαστής (constructor) 3.3 Καταστροφέας (destructor) 3.4 Ελεγκτές Πρόσβασης (accessors) B. Ασκήσεις
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Dimitris Psounis
Le careme 2013 à saint laurent
Le careme 2013 à saint laurent
paroissesaintlaurent
Detox
Detox
Tara Puckey
management
Place gouvernance si_dans_gouvernance_generale
Place gouvernance si_dans_gouvernance_generale
AHMED ENNAJI
Uaesw explained Portrait
Uaesw explained Portrait
nimameeja
South Amboy Receives $725 Million in Grants (The Suburban)
South Amboy Receives $725 Million in Grants (The Suburban)
Jacqueline Durett
The slip phenomena in thin polymer films confined by either flat or periodically corrugated surfaces are investigated by molecular dynamics and continuum simulations. For atomically flat surfaces and weak wall-fluid interactions, the shear rate dependence of the slip length has a distinct local minimum which is followed by a rapid increase at higher shear rates. For corrugated surfaces with wavelength larger than the radius of gyration of polymer chains, the effective slip length decays monotonically with increasing corrugation amplitude. At small amplitudes, this decay is reproduced accurately by the numerical solution of the Stokes equation with constant and rate-dependent local slip length. When the corrugation wavelength is comparable to the radius of gyration, the continuum predictions overestimate the effective slip length obtained from molecular dynamics simulations. The analysis of the conformational properties indicates that polymer chains tend to stretch in the direction of shear flow above the crests of the wavy surface.
Modeling the effect of surface roughness on slip flow in nanoscale polymer films
Modeling the effect of surface roughness on slip flow in nanoscale polymer films
Nikolai Priezjev
Was ist angesagt?
(20)
ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 6.3 (ΕΚΤΥΠΩΣΗ)
ΚΑΡΤΕΣ ΜΑΘΗΜΑΤΟΣ 6.3 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΜΑΘΗΜΑ 2.5 (ΕΚΤΥΠΩΣΗ)
ΠΛΗ10 ΜΑΘΗΜΑ 2.5 (ΕΚΤΥΠΩΣΗ)
02 Digitaalinen asiakaskokemus - olemmeko valmiita siihen - Nina Nissilä - Va...
02 Digitaalinen asiakaskokemus - olemmeko valmiita siihen - Nina Nissilä - Va...
Clase6
Clase6
the essential guide to 8share
the essential guide to 8share
Best and Worst of 2011
Best and Worst of 2011
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 2 - ΕΚΤΥΠΩΣΗ
ΔΟΜΕΣ ΔΕΔΟΜΕΝΩΝ ΣΕ C - ΜΑΘΗΜΑ 2 - ΕΚΤΥΠΩΣΗ
Lpc2148 user peripherals
Lpc2148 user peripherals
Minggu1 introduction to artificial intelligence
Minggu1 introduction to artificial intelligence
Carême saint laurent
Carême saint laurent
Heat Treatment 2
Heat Treatment 2
Unge spejdere 12-16 år og deres mediebrug
Unge spejdere 12-16 år og deres mediebrug
Health insurance 5 pc
Health insurance 5 pc
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Η ΓΛΩΣΣΑ C++ - ΜΑΘΗΜΑ 2 - ΕΙΣΑΓΩΓΗ ΣΤΙΣ ΚΛΑΣΕΙΣ (4 διαφ)
Le careme 2013 à saint laurent
Le careme 2013 à saint laurent
Detox
Detox
Place gouvernance si_dans_gouvernance_generale
Place gouvernance si_dans_gouvernance_generale
Uaesw explained Portrait
Uaesw explained Portrait
South Amboy Receives $725 Million in Grants (The Suburban)
South Amboy Receives $725 Million in Grants (The Suburban)
Modeling the effect of surface roughness on slip flow in nanoscale polymer films
Modeling the effect of surface roughness on slip flow in nanoscale polymer films
Andere mochten auch
Tracing a memory leaki in a long-running eventmachine application
Tracing a memory leaki in a long-running eventmachine application
Tracing a memory leaki in a long-running eventmachine application
Minqi Pan
C++ 11
C++ 11
C++ 11
Minqi Pan
GitLab, the open source alternative to GitHub written in Rails, does not scale automatically out of the box, as it stores its git repositories on a single filesystem, making storage capabilities hard to expand. Rather than attaching a NAS server, we decided to use a cloud-based object storage (such as S3) to replace the FS. This introduced changes to both the Ruby layer and the deeper C layers. In this talk, we will show the audience how we did the change and overcame the performance loss introduced by network I/O.
How we scaled git lab for a 30k employee company
How we scaled git lab for a 30k employee company
Minqi Pan
Upgrading rails-it-is-a-good-time-to-refactor-your-code-en-upgrading-rails-it...
Upgrading rails-it-is-a-good-time-to-refactor-your-code-en-upgrading-rails-it...
旻琦 潘
P.S.v.R @ [北京][2014年7月19日]Ruby Saturday
lotus让我们写出更solid的ruby工程
lotus让我们写出更solid的ruby工程
旻琦 潘
A tour on ruby and friends
A tour on ruby and friends
旻琦 潘
Rails 快速上手攻略(Rails Getting Started)
Rails 快速上手攻略(Rails Getting Started)
Rails 快速上手攻略(Rails Getting Started)
旻琦 潘
Slide: In Huanteng Smart we manufacture smart household gadgets which all connect to a single long running eventmachine application to receive and send instructions with the server. This eventmachine application is a single Linux process holding all TCP connections never closes them. One day, we found that this process was leaking memory, and here is how we managed to trace its cause.
Tracing a Memory-leak in a Long Running Eventmachine Application
Tracing a Memory-leak in a Long Running Eventmachine Application
旻琦 潘
Andere mochten auch
(8)
Tracing a memory leaki in a long-running eventmachine application
Tracing a memory leaki in a long-running eventmachine application
C++ 11
C++ 11
How we scaled git lab for a 30k employee company
How we scaled git lab for a 30k employee company
Upgrading rails-it-is-a-good-time-to-refactor-your-code-en-upgrading-rails-it...
Upgrading rails-it-is-a-good-time-to-refactor-your-code-en-upgrading-rails-it...
lotus让我们写出更solid的ruby工程
lotus让我们写出更solid的ruby工程
A tour on ruby and friends
A tour on ruby and friends
Rails 快速上手攻略(Rails Getting Started)
Rails 快速上手攻略(Rails Getting Started)
Tracing a Memory-leak in a Long Running Eventmachine Application
Tracing a Memory-leak in a Long Running Eventmachine Application
Embedding mruby into c and an actual example
1.
!
#
2.
$%$''$'()*+' $,-*$.()*+' /0 . 1
3.
$$
4.
2
2
5.
6.
7.
%** . .*
8.
%*
9.
3% 1 3% 3% 4
10.
3% 1
11.
/51
12.
13.
3%.
14.
!
15.
16.
/
17.
,)6+)7+37*7+$81 9 2 :
18.
19.
; 9 2 :
20.
1 1=1 11# 11#
; 9 2
21.
:4
22.
5
23.
24.
!
25.
!
26.
27.
1 0 8-') !
28.
; 9? $,7+$28-'):
29.
!
30.
!
31.
!
32.
#$ %
33.
/0
34.
@
35.
$ ; AB
Jetzt herunterladen