rabbit-slide-hasumikin-RAGrant2020Report 2021.7.6.1 → 2021.7.6.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8fee8bc67bbe4fe005b9cb418d19508024394b5cd62e12cf13bb2cbbc5c5f57b
4
- data.tar.gz: '08d29aacfa23ead845222546a11596a94eb141b10130668cb8281a41978863c9'
3
+ metadata.gz: 5a49711d7c452723d68d256a20aa6ad42ad622193b2a87ebf67208ee2ceb5c13
4
+ data.tar.gz: 8eb74735b38fc82f16bc0285c03ceb73cb4a9ff72be4379018a5909b03652843
5
5
  SHA512:
6
- metadata.gz: 8525c2b23eb625400a21b14a998fb435a81064ff41ab522828621a3ec980b3641cc776f5b787046f385a0e4ad98af9506dca06f2076679ec77062a89a2cfd579
7
- data.tar.gz: 9cd3c3c1da5e761466fb46afeabcdb65f0dbfbd704fa6d87d8415fa7f9579023bfb58186fcd65a0ec764165155f7fe4a3d443d43ff31668d5f929aae6542eee9
6
+ metadata.gz: 53bcbef9fc98d0da131d15d944a8581f7baf1d50643ce408a1ad0741ec19578007bac1bf0b2c897a43bd19f4dca695d077599b07ef1ae44b383c8a2f4b4397e0
7
+ data.tar.gz: 8e4355c1242fd008de226c65e0f1b181091cc51741fce270c437fdcbe8da9c27515e6fd4a84f0bbbab1540a633bf41091a85f0cab4a7136dee8edba8a0a644ae
data/PicoRubyCompiler.rab CHANGED
@@ -72,8 +72,8 @@ Doesn't make sense 🤔
72
72
 
73
73
  = Why doesn't make sense?
74
74
  * mruby-compiler depends on mruby (mrb_state)
75
- * You can use mruby VM if you use mruby-compiler
76
- * However, mruby requires bigger RAM than mruby/c
75
+ * You can use mruby-compiler with mruby/c VM
76
+ * However, the size of mruby-compiler spoils mruby/c's small footprint
77
77
  * OK,
78
78
 
79
79
  = Ruby for embedded system
@@ -92,12 +92,12 @@ Doesn't make sense 🤔
92
92
  (('tag:center'))
93
93
  PicoRuby Compiler for one-chip microcontrollers 💪
94
94
 
95
- = PicoRuby Compiler on microcontrollers❓
95
+ = Possibilities of PicoRuby Compiler
96
96
  * REPL
97
97
  * Debugging on an actual device
98
- * One stop solution
98
+ * Even with mruby VM
99
+ * One stop solution with mruby/c VM
99
100
  * For newbies, education, Smalruby etc.
100
- * Just for fun 😊
101
101
 
102
102
  # image
103
103
  # src = images/hatti.png
@@ -307,7 +307,7 @@ while/until, break, etc were unimplemented yet
307
307
 
308
308
  = What happened?
309
309
  * 1. Reusing literal data as much as possible
310
- * 2. Pooled allocation
310
+ * 2. Considering paddings & Pooled allocation
311
311
  * 3. Freeing in loop instead of recursion
312
312
 
313
313
  = Reusing literal data as much as possible
@@ -323,9 +323,10 @@ while/until, break, etc were unimplemented yet
323
323
 
324
324
  * Tokens
325
325
  * `array`, `[`, `0`, `]`, `=`, `:`, `data`
326
- * Method name should be `[]=`, but where? how?
327
- * Thus, some literal data should be exceptional
326
+ * Method name should be `[]=`, but where? how?
327
+ * Thus, some literal data should be exceptional
328
328
  * Kind of a strategic decision
329
+ * Beware of memory leaks
329
330
 
330
331
  = Padding in a struct
331
332
  # enscript c
@@ -445,6 +446,38 @@ Before RA Grant
445
446
  # src = images/freeTree_3.png
446
447
  # relative_width = 100
447
448
 
449
+ = Stack spike
450
+ (('tag:center'))
451
+ Before RA Grant
452
+ --------------------------------------------------------------------------------
453
+ Command: ../picoruby/build/host-production/bin/picorbc larger_script.rb
454
+ Massif arguments: --stacks=yes
455
+ ms_print arguments: massif.out.13414
456
+ --------------------------------------------------------------------------------
457
+ KB
458
+ 53.20^ #
459
+ | #
460
+ | @# :::
461
+ | @# : :
462
+ | @# : :
463
+ | @@# : :
464
+ | @@# :: :
465
+ | @@#::: :
466
+ | @@#::: :
467
+ | @@::@@#::: :
468
+ | @@: @@#::: :
469
+ | @@:@:::@::::@@: @@#::: ::
470
+ | @::@::@ :@:: @:: :@@: @@#::: ::
471
+ | @:::@@@:@::@: @ :@:: @:: :@@: @@#::: ::
472
+ | @@:@::@:: @@ :@::@: @ :@:: @:: :@@: @@#::: ::
473
+ | ::@@@ :@: @:: @@ :@::@: @ :@:: @:: :@@: @@#::: ::
474
+ | :::::: :::::@ @ :@: @:: @@ :@::@: @ :@:: @:: :@@: @@#::: ::
475
+ | :::::@@:: :::::: ::@ @ :@: @:: @@ :@::@: @ :@:: @:: :@@: @@#::: ::
476
+ | : :: @ :: :::::: ::@ @ :@: @:: @@ :@::@: @ :@:: @:: :@@: @@#::: ::
477
+ | : :: @ :: :::::: ::@ @ :@: @:: @@ :@::@: @ :@:: @:: :@@: @@#::: ::
478
+ 0 +----------------------------------------------------------------------->Mi
479
+ 0 1.616
480
+
448
481
  = Stack spike
449
482
  # image
450
483
  # src = images/freeTree_4.png
data/config.yaml CHANGED
@@ -8,7 +8,7 @@ tags:
8
8
  presentation_date: '2021-07-06'
9
9
  presentation_start_time:
10
10
  presentation_end_time:
11
- version: 2021.7.6.1
11
+ version: 2021.7.6.2
12
12
  licenses: ["MIT License"]
13
13
  slideshare_id:
14
14
  speaker_deck_id:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbit-slide-hasumikin-RAGrant2020Report
3
3
  version: !ruby/object:Gem::Version
4
- version: 2021.7.6.1
4
+ version: 2021.7.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - HASUMI Hitoshi