> For the complete documentation index, see [llms.txt](https://docs.ccv.brown.edu/archive/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ccv.brown.edu/archive/bootcamp-2024/schedule/day3.md). Agents can also search and read this documentation through its [MCP server](https://docs.ccv.brown.edu/archive/~gitbook/mcp).

# Day 3: Thu, 13 June

Introduction to Programming

Today's tutorials will occur along four tracks, each devoted to a different programming language, running concurrently. Each tab below corresponds to one of these tracks. The tutorials associated with each track are listed on the relevant tab.

{% tabs %}
{% tab title="Julia | Rust" %}

### Introduction to Rust 1:30 - 3:00 EDT *\*Hybrid\**

This is an introduction to the Rust programming language. Rust is a relatively new programming language that prioritizes performance, concurrency, and memory safety. It is conceptually similar to C++ in its emphasis on performance and zero-cost abstractions. Rust is also heavily inspired by functional programming languages; this is apparent in idiomatic Rust, which makes frequent use of iterators, closures, and lazy evaluation. This workshop assumes no prior experience with Rust—we will start with the basics and cover everything you need to build useful Rust programs.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=dd1a8d24-3d82-4a10-b0e7-b1af010072a0)

### Rust Intermediate Workshop 3:00 - 4:30 EDT *\*Hybrid\**

This workshop is aimed at those who have some basic familiarity with Rust and want to learn more. We will cover some of the more advanced features of Rust, including: lifetimes, traits, and generics. We will also cover how to write tests in Rust, and how to use Rust's package manager, Cargo, to manage dependencies and build projects.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=b2d504e1-6996-4780-989c-b1af01020410)

### Introduction to Julia | 3:30 - 5:00 EDT *\*Hybrid\**

The Julia programming language has been gaining popularity in the scientific computing and data science communities. The language boasts performance characteristics approaching that of compiled languages like C, C++, and Fortran, while also being as expressive as Python, R, Ruby, or Matlab. This will be an introduction to the Julia language for users without previous experience using Julia. This will be a "hands-on" introduction, and will cover the basics of the language. No prior experience with Julia is required; some familiarity with another programming language will be benficial, but is not necessary.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=fa5c6365-a3e3-428c-ad4a-b1af01029997)
{% endtab %}

{% tab title="MATLAB" %}

### Using MATLAB on Oscar | 11:00 - 12:30 EDT

An introduction to using MATLAB on Oscar. Topics covered include: working with MATLAB interactively on Oscar, using the MATLAB GUI, and using MATLAB in batch jobs.

[slides](https://docs.google.com/presentation/d/1Zrfa3IV9f2OUHzCT4FaDKweO_m_dFEyuk4iDOFkPQMA/edit?usp=sharing) | [video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=b7796e4f-5554-4ec7-a7a7-b1af00fdcde3)

### Introduction to Programming in MATLAB | 1:30 - 3:00 EDT

An introduction to programming using MATLAB. Topics covered include: working with the MATLAB Desktop, variables and arrays, basic plotting, MATLAB scripting, functions, relational operators, logical operators, controlling flow with if statements and loops, and using MATLAB's debugger.

[slides](https://docs.google.com/presentation/d/1Gq2mEbyA_TT6PzBuPuA9xdtOp7_eQK58se6ujZ8DxHQ/edit?usp=sharing) | [repo](https://github.com/phall-brown/MATLAB-examples.git) | [video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=b513947c-a803-415a-bf30-b1af00ffb0dd)

### Advanced MATLAB | 3:00 - 4:30 EDT

This workshop will cover basic performance optimization and parallel computing techniques in MATLAB, including: code profiling, pre-allocation, sequential memory access, vectorization, parallel for-loops and efficient matrix-vector storage and operations. We will assume that participants have a basic understanding of the MATLAB programming language.

[slides](https://docs.google.com/presentation/d/1j9KH74xSD0kcRw-9ihkakqHKdkNEw5P-th1YT_qi4c0/edit?usp=sharing) | [video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=b2d504e1-6996-4780-989c-b1af01020410)
{% endtab %}

{% tab title="Python" %}

### Python Programming Basics | 9:00 - 12:30 EDT *\*Hybrid\**

An introduction to Python fundamentals. This session will cover key python concepts of: data types and data containers; the logic of control-flow techniques such as if-then statements, for loops, list comprehensions; and a basic understanding of writing functions.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=6f9ece5d-ad61-4b50-b913-b1af00fc2dc0)
{% endtab %}

{% tab title="R" %}

### An Introduction to R Programming | 9:30 - 12:00 EDT *\*Hybrid\**

This session will cover an introduction to R, including data types and data formats, useful R functions, writing your own functions, importing and exporting data, and installing packages.

[repo](https://github.com/compbiocore/ccv_bootcamp_R) | [video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=d46745d5-834c-4a8c-91c7-b1af00fcc558)

### TidyVerse Essentials | 1:30 - 2:30 EDT *\*Hybrid\**

This session will cover data wrangling (filtering, reshaping, joining) using Tidyverse.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=4a8f1e95-e623-44a8-bbb9-b1af00feb58d)

### ggplot2 Essentials | 3:00 - 4:00 EDT *\*Hybrid\**

This session will cover data visualization using ggplot.

[video](https://brown.hosted.panopto.com/Panopto/Pages/Viewer.aspx?id=a893b0d9-208a-4fb9-81e1-b1af01014545)
{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ccv.brown.edu/archive/bootcamp-2024/schedule/day3.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
